Share

LinearModelDimensionDefinition Object

Derived from: ModelDimensionDefinition Object

Description

LinearModelDimensionDefinition Object.

Methods

Name Description
Copy Method that creates a copy of this LinearModelDimensionDefinition object. The new LinearModelDimensionDefinition object is independent of any dimension. It can edited and used as input to edit an existing dimension or to create a new dimension.
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

Name Description
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.
DimensionType Read-only property that returns the dimension type. Possible values are kAlignedDimensionType, kHorizontalDimensionType, kVerticalDimensionType, kArcLengthDimensionType, kSymmetricDimensionType and kDiametricDimensionType.
FirstArrowheadType Read-write property that gets and sets the type of the first arrowhead. This is a style override.
IntentOne Read-write property that gets and sets the first geometry associated with the dimension.
IntentTwo Read-write property that gets and sets the second geometry associated with the dimension.
IsExtensionLineOneVisible Read-write property that gets and sets whether the first extension line is visible.
IsExtensionLineTwoVisible Read-write property that gets and sets whether the second extension line is visible. This property returns False and cannot be set to True for linear symmetric dimensions. For linear diametric dimensions, this property returns False and cannot be set to True.
IsFirstArrowheadInside Read-write property that gets and sets whether the first arrowhead is inside or not.
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.
IsOppositeAngleOfArc Read-write property that gets and sets whether the opposite angle of an arc is dimensioned or not. This is only applicable when an arc is dimensioned and the value of this property should be ignored in other cases.
IsSecondArrowheadInside Read-write property that gets and sets whether the second arrowhead is inside or not.
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.
SecondArrowheadType Read-write property that gets and sets the type of the second arrowhead. This is a style override. This property returns an error and cannot be set for the following dimension types: radius dimensions, diameter dimensions with the SingleDimensionLine property.
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

LinearModelDimensionDefinition.Copy, LinearModelDimensions.CreateDefinition

Version

Introduced in version 2018

Was this information helpful?