ModelDimensionDefinition Object
Description
The ModelDimensionDefinition object is the base class for all model dimension definitions in a part or assembly.
Methods
GetInspectionDimensionData |
Method that returns the data associated with an inspection dimension. This method returns an error if the IsInspectionDimension property returns False. |
IsValidAnnotationPlane |
Method that returns the wheather a planer object is valid to be used as an annotation plane for this model dimension. |
SetInspectionDimensionData |
Method that sets the data associated with an inspection dimension. This method automatically sets the IsInspectionDimension property to True, if it isn’t already. |
Properties
AnnotationPlane |
Read-write property that gets and sets the annotation plane for the dimension. Will return nothing in the case where the ModelDimensionDefinition object is transient and not associated with a dimension. |
AnnotationPlaneDefinition |
Read-write property that gets and sets the annotation plane definition for the dimension. |
Application |
Gets the root Application object. Where the property is weakly-typed, it can be set to (QueryInterfaced for) 'Application' when running with Inventor whereas, 'ApprenticeServer' when running with the Apprentice Server. |
IsInspectionDimension |
Read-write property that gets and sets whether this is an inspection dimension. Inspection dimensions are used during the quality control process. They are formatted specifically to indicate which dimensions must be checked before accepting a part. The dimens. |
IsModelValueOverridden |
Read-write property that gets and sets whether the model value is overridden for the dimension. Setting the OverrideModelValue property automatically toggles this property to True. |
IsValueHidden |
Read-write property that gets and sets whether to display the dimension value. |
OverrideModelValue |
Read-write property that gets and sets the display value for the dimension. |
Parent |
Read-only property that returns the parent model annotation that the definition is associated with. This property will return Nothing in the case where the definition is not associated with any annotation. This is the case when it’s been created using one of the create definition methods and when it’s been copied from another definition object. |
Precision |
Read-write property that gets and sets the number of decimal places displayed for this dimension. Values are truncated and rounded to the specified precision. Valid range of values is 0 to 8. |
Text |
Read-only property that gets the text of the dimension. Properties on the returned ModelAnnotationText object can be edited to change the displayed text. |
TextPosition |
Read-write property that controls the position of the dimension text. When being set, the input point will be projected onto the orientation plane. |
Tolerance |
Read-only property that returns the Tolerance object associated with this dimension. Methods and properties on the returned Tolerance object can be used to add/edit tolerance information for the dimension. |
TolerancePrecision |
Read-write property that gets and sets the number of decimal places displayed for this dimension tolerance. Values are truncated and rounded to the specified precision. Valid range of values is 0 to 8. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
AngularModelDimension.Definition,
AngularModelDimensionProxy.Definition,
DiameterModelDimension.Definition,
DiameterModelDimensionProxy.Definition,
LinearModelDimension.Definition,
LinearModelDimensionProxy.Definition,
ModelDimension.Definition,
RadiusModelDimension.Definition,
RadiusModelDimensionProxy.Definition
Derived Classes
AngularModelDimensionDefinition,
DiameterModelDimensionDefinition,
LinearModelDimensionDefinition,
RadiusModelDimensionDefinition
Version
Introduced in version 2018