New in version R13.029.
Unit scale data type (CUSTOMDATATYPE_UNITSCALE) for use with the UnitScaleCustomGui GUI.
This type is called by value.
Parameters: | v (UnitScaleData) – Copy constructor. |
---|---|
Return type: | UnitScaleData |
Returns: | The new unit scale data. |
Sets the values for the unit scale data type.
Parameters: |
|
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: |
bool |
||||||||||||||||||||
Returns: |
True if successful, otherwise False |
Retrieves the values of the unit scale data type:
scale, unit = data.GetUnitScale()
Parameters: |
|
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: |
tuple of int |
||||||||||||||||||||
Returns: |
The scale and unit data. |