Returns the value of the named property on the named module at the current time.
The getProperty command is useful in script procedures for automatically identifying the value of the property of a module. The called properties can be in either the Attributes or Channels panels.
The results may be saved to a variable, which may in turn be passed to a subsequent command or procedure.
Data retrieval
getProperty moduleName propertyName[-c] [-d] |
Name | Type | Required | Comments |
---|---|---|---|
moduleName propertyName | The arguments consist of a module name and any property name that applies for that module type. |
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
c | 0 | — | — | — |
d | 0 | — | — | — |
float
float $loc = `getProperty RBWT "TranslationX"`; print $loc; // Identifies the X position of the marker object RBWT and // saves the XYZ values to a float variable called "$loc". float $wt = `getProperty RUPA "Weight"`; print $wt; // Returns the weight of the RUPA to a floating // point variable $wt. |