Determines if the project component given by relativeName is referencable. Project components which are disabled can also be referenced.
existsRelRef(String relativeName, Boolean alsoDisabled) | |||
---|---|---|---|
Arguments | String | relativeName | Relative path to a project component |
Boolean | alsoDisabled |
true = deactivated project components are also taken into consideration false = deactivated project components are not taken into consideration |
|
Return value | Boolean |
Formula | Result |
---|---|
mroot.existsRelRef('St01RCircularPlate.DriveSupply.Supply2',true) | true or false |