This command returns a string array of names of constraints that have the given module as a source.
Data retrieval
getConstraintsThisIsSource "module"[-nameOnly] [-fullPath] [-solvingOnly] [-labelingOnly] |
Name | Type | Required | Comments |
---|---|---|---|
Module | string | yes | Module to retrieve list of constraints where module is a source. |
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 |
string array
Returns a string array of names of constraints that have the given module as a source.
// Get the constraints that have LFHD as a source.
string $constraints[] = `getConstraintsThisIsSource "LFHD"`;
print $constraints;