| Revit 2023 API |
| Subelement Members |
| Subelement Class Methods Properties See Also |
The Subelement type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CanHaveTypeAssigned |
Identifies if the subelement can have a type assigned.
| |
| ChangeTypeId |
Changes the type of the subelement.
| |
| Create |
Creates an object representing element or subelement.
| |
| Dispose | Releases all resources used by the Subelement | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetAllParameters |
Returns all parameters of this subelement.
| |
| GetBoundingBox |
Retrieves a box that circumscribes all geometry of the subelement.
| |
| GetGeometryObject |
Retrieve one geometric primitive representing given subelement.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetParameterValue |
Obtains the current parameter value of this subelement given a parameter id.
| |
| GetReference |
Obtains the reference to this subelement.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValidTypes |
Obtains a set of types that are valid for this subelement.
| |
| HasParameter |
Checks if this subelement have given parameter.
| |
| IsParameterModifiable |
Checks if given parameter of this subelement is modifiable.
| |
| IsValidSubelementReference |
Checks if given Reference identifies either a valid element or subelement.
| |
| IsValidType |
Checks if given type is valid for this subelement.
| |
| SetParameterValue |
Sets a new parameter value of this subelement given a parameter id.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Category | Retrieves a Category object that represents the category or sub category of the subelement. | |
| Document |
The document in which the subelement resides.
| |
| Element |
The element in which the subelement resides.
| |
| IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
| |
| TypeId |
The identifier of this subelement's type.
| |
| UniqueId |
A stable unique identifier for this subelement within the document.
|