/
getConstraintsThisIsSource
getConstraintsThisIsSource
Description
This command returns a string array of names of constraints that have the given module as a source.
Functional area
Data retrieval
Command syntax
Syntax
getConstraintsThisIsSource "module"[-nameOnly] [-fullPath] [-solvingOnly] [-labelingOnly] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
Module | string | yes | Module to retrieve list of constraints where module is a source. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
nameOnly | 0 | — | — | Only the name of each node is returned rather than the "minimum" path (the minimum needed to uniquely identify a node). |
fullPath | 0 | — | — | The full path of each node is returned rather than the "minimum" path (the minimum needed to uniquely identify a node). |
solvingOnly | ||||
labelingOnly |
Return value
string array
Returns a string array of names of constraints that have the given module as a source.
Examples
// Get the constraints that have LFHD as a source. string $constraints[] = `getConstraintsThisIsSource "LFHD"`; print $constraints;
Additional information
Related commands
, multiple selections available,
Related content
getConstraintsThisIsTarget
getConstraintsThisIsTarget
More like this
getAttachedTo
getAttachedTo
More like this
getConstraintPos
getConstraintPos
More like this
getConstraintOffset
getConstraintOffset
More like this
getConstraintError
getConstraintError
More like this
getAttached
getAttached
More like this