Share

Element Properties

The Element type exposes the following members.

Properties

 NameDescription
Public propertyAssemblyInstanceId The id of the assembly instance to which the element belongs.
Public propertyCode exampleBoundingBoxRetrieves a box that circumscribes all geometry of the element.
Public propertyCategoryRetrieves a Category object that represents the category or sub category in which the element resides.
Public propertyCode exampleCreatedPhaseId Id of a Phase at which the Element was created.
Public propertyCode exampleDemolishedPhaseId Id of a Phase at which the Element was demolished.
Public propertyCode exampleDesignOptionReturns the design option to which the element belongs.
Public propertyDocumentReturns the Document in which the Element resides.
Public propertyCode exampleGeometryRetrieves the geometric representation of the element.
Public propertyGroupId The id of the group to which an element belongs.
Public propertyCode exampleId A unique identifier for an Element in an Autodesk Revit project.
Public propertyIsModifiable Identifies if the element is modifiable.
Public propertyIsTransient Indicates whether an element is transient or permanent.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyLevelId The id of the level associated with the element.
Public propertyCode exampleLocationThis property is used to find the physical location of an element within a project.
Public propertyNameA human readable name for the Element.
Public propertyOwnerViewId The id of the view that owns the element.
Public propertyCode exampleParameter[BuiltInParameter]Retrieves a parameter from the element given a parameter id.
Public propertyParameter[Definition]Retrieves a parameter from the element based on its definition.
Public propertyParameter[Guid]Retrieves a parameter from the element given a GUID for a shared parameter.
Public propertyCode exampleParametersRetrieves a set containing all of the parameters that are contained within the element.
Public propertyParametersMapRetrieves a map containing all of the parameters that are contained within the element.
Public propertyPinned Identifies if the element has been pinned to prevent changes.
Public propertyCode exampleUniqueId A stable unique identifier for an element within the document.
Public propertyVersionGuid Get the element version Guid.
Public propertyViewSpecific Identifies if the element is owned by a view.
Public propertyWorksetId Get Id of the Workset which owns the element.

See Also

Reference

Was this information helpful?