Function ProElementDecimalsSet
Description
Assigns the number of decimals places to used for a double value in the feature. This value will be used in the part dimension related to this element.
Notes:
• Creo Parametric has a limit of 0-9 to nine decimal places for feature dimensions.
• This function should be used before
ProElementDoubleSet to ensure that the value is assigned with the correct intended number of decimal places.
• Relations referring to the related dimension will not be affected by the decimal places setting.
• This will have no effect on the related dimension if it is created as fractional.
Synopsis
| ProElementDecimalsSet |
| ( /* (In) The element. */ int decimals /* (In) The number of decimal places to be used. */ ) |
Returns
| The function succeeded. |
| One or more input arguments was invalid. |
| The element is not a double element. |
| The element is relation driven |
See Also
Sample Code References
User Guide References
Parent topic