Share

CustomPropertyFormat Object


Description

The CustomPropertyFormat provides control over how the parameter value is formatted when it is exposed as a custom iProperty.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
Parent Property that returns the parent Parameter object.
Precision Gets/Sets the precision to use when formatting the parameter value to be displayed as an iProperty.
PropertyType Gets/Sets whether the custom iProperty created for this parameter is a text (String) or number (Double) parameter.
ShowLeadingZeros Gets/Sets if leading zeros should be shown in the formatted iProperty value.
ShowTrailingZeros Gets/Sets if trailing zeros should be shown in the formatted iProperty value.
ShowUnitsString Gets/Sets if the unit string should be shown in the formatted iProperty value.
Type Returns an ObjectTypeEnum indicating this object's type.
Units Gets/Sets the units to use when formatting the parameter value to be displayed as an iProperty.

Accessed From

DerivedParameter.CustomPropertyFormat, FinishParameter.CustomPropertyFormat, ModelParameter.CustomPropertyFormat, Parameter.CustomPropertyFormat, ReferenceParameter.CustomPropertyFormat, TableParameter.CustomPropertyFormat, UserParameter.CustomPropertyFormat

Version

Introduced in version 2010

Was this information helpful?