Dimension Properties


Dimension Properties

The Dimension type exposes the following members.

Properties
Name Description
Public property Above The text shown above the segment's value.
Public property AreReferencesAvailable Indicates if this dimension's references can be resolved.
Public property AreSegmentsEqual Indicates if all segments are forced to be equal.
Public property AssemblyInstanceId The id of the assembly instance to which the element belongs.
(Inherited from Element )
Public property Below The text shown below the segment's value.
Public property Code example BoundingBox Retrieves a box that circumscribes all geometry of the element.
(Inherited from Element )
Public property Category Retrieves a Category object that represents the category or sub category in which the element resides.
(Inherited from Element )
Public property Code example CreatedPhaseId Id of a Phase at which the Element was created.
(Inherited from Element )
Public property Curve A curve that represents the dimension line.
Public property Code example DemolishedPhaseId Id of a Phase at which the Element was demolished.
(Inherited from Element )
Public property Code example DesignOption Returns the design option to which the element belongs.
(Inherited from Element )
Public property DimensionShape The shape of this dimension.
Public property DimensionType The dimension style of this dimension.
Public property Document Returns the Document in which the Element resides.
(Inherited from Element )
Public property FamilyLabel The family parameter label of the dimension.
Public property Code example Geometry Retrieves the geometric representation of the element.
(Inherited from Element )
Public property GroupId The id of the group to which an element belongs.
(Inherited from Element )
Public property HasLeader True if dimension has leader, false otherwise.
Public property Code example Id A unique identifier for an Element in an Autodesk Revit project.
(Inherited from Element )
Public property IsLocked Indicates if this dimension is locked.
Public property IsModifiable Identifies if the element is modifiable.
(Inherited from Element )
Public property IsTransient Indicates whether an element is transient or permanent.
(Inherited from Element )
Public property IsValid Indicates if this dimension is valid.
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from Element )
Public property LeaderEndPosition The position of the dimension's leader end point.
Public property LevelId The id of the level associated with the element.
(Inherited from Element )
Public property Code example Location This property is used to find the physical location of an element within a project.
(Inherited from Element )
Public property Name Retrieves or changes the name associated with the Dimension.
Public property NumberOfSegments The number of segments for the dimension.
Public property Origin The dimension origin.
Public property OwnerViewId The id of the view that owns the element.
(Inherited from Element )
Public property Code example Parameter BuiltInParameter Retrieves a parameter from the element given a parameter id.
(Inherited from Element )
Public property Parameter Definition Retrieves a parameter from the element based on its definition.
(Inherited from Element )
Public property Parameter Guid Retrieves a parameter from the element given a GUID for a shared parameter.
(Inherited from Element )
Public property Code example Parameters Retrieves a set containing all of the parameters that are contained within the element.
(Inherited from Element )
Public property ParametersMap Retrieves a map containing all of the parameters that are contained within the element.
(Inherited from Element )
Public property Pinned Identifies if the element has been pinned to prevent changes.
(Inherited from Element )
Public property Prefix The text shown before the segment's value.
Public property References Returns an array of geometric references to which the dimension is attached.
Public property Segments The segments in the dimension.
Public property Suffix The text shown after the segment's value.
Public property Code example TextPosition The position of the dimension text's drag point.
Public property Code example UniqueId A stable unique identifier for an element within the document.
(Inherited from Element )
Public property Value The value of the dimension.
Public property ValueOverride The text that replaces the segment's value.
Public property ValueString The dimension value as a user visible string.
Public property VersionGuid Get the element version Guid.
(Inherited from Element )
Public property View Supplies the view that contains the dimension if the dimension is view specific.
Public property ViewSpecific Identifies if the element is owned by a view.
(Inherited from Element )
Public property WorksetId Get Id of the Workset which owns the element.
(Inherited from Element )
Top
See Also