Share

DiameterGeneralDimension Object

Derived from: GeneralDimension Object

Description

The DiameterGeneralDimension object represents a diameter dimension placed on a sheet.

Methods

Name Description
Delete Method that deletes the DrawingDimension.
GetInspectionDimensionData Method that returns the data associated with an inspection dimension. This method returns an error if the IsInspectionDimension property returns False.
GetReferenceKey Method that generates and returns the reference key for this entity.
PromoteToSketch Method that copies the dimension to the underlying sketch. This method only works for dimensions associated with a draft view.
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.
ShowAllExtensionLines Method that un-hides all the extension lines associated with this dimension. If there are no hidden extension lines associated with this dimension, this method does nothing and returns a success.

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.
ArrowheadsInside Gets and sets the ArrowheadsInside setting.
Attached Indicates whether this dimension is attached to anything. If not, it is considered orphaned and can be removed.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
DimensionLine Property that returns the dimension line geometry of the dimension.
ExtensionLineOne Property that returns the first extension line of the dimension.
ExtensionLineTwo Property that returns the second extension line of the dimension.
FirstArrowheadInside Read-write property that gets and sets whether the first arrowhead is inside or outside.
FirstArrowheadType Read-write property that gets and sets the type of the first arrowhead.
GeneralDimensionType Returns an enum indicating the type of general dimension.
HideValue Gets and sets the HideValue setting.
Intent Gets and sets the geometry associated with the dimension.
IsInspectionDimension Gets and sets whether this is an inspection dimension.
Layer Gets and sets the layer applied to this dimension.
LeaderFromCenter Gets and sets whether the leader starts from the center of the arc or the circle.
ModelValue Property that gets the dimension value as defined in the model or as measured in the drawing.
ModelValueOverridden Read-write property that gets and sets whether the model value is overridden for the dimension.
OverrideModelValue Gets and sets the NominalValue setting.
Parent Property that returns the parent sheet of the object.
Precision Gets and sets the Precision setting.
Retrieved Property that indicates whether the dimension was created as a result of retrieving it either from the model or a drawing view sketch. If True, the RetrievedFrom property returns the object that the dimension was retrieved from.
RetrievedFrom Property that returns the object that this dimension was retrieved from. Possible return objects include all sketch constraint objects that derive from DimensionConstraint and their proxies, FeatureDimension and FeatureDimensionProxy. The property returns Nothing if the Retrieved property returns False.
SecondArrowheadInside Read-write property that gets and sets whether the second arrowhead is inside or outside.
SecondArrowheadType Read-write property that gets and sets the type of the second arrowhead.
SingleDimensionLine Gets and sets whether to use a single dimension line.
Style Gets and sets the DimensionStyle associated with the dimension.
Text Gets and sets the DimensionText setting.
Tolerance Property that returns the Tolerance object associated with this dimension.
TolerancePrecision Gets and sets the precision of the tolerance text for the dimension.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

GeneralDimensions.AddDiameter

Derived Classes

HoleThreadNote

Version

Introduced in version 11

Was this information helpful?