/
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

NameTypeRequiredComments
ModulestringyesModule to retrieve list of constraints where module is a source.

Flags

NameFlag argumentsArgument typeExclusive toComments
nameOnly0Only the name of each node is returned rather than the "minimum" path (the minimum needed to uniquely identify a node).
fullPath0The 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