Subelement Members


The Subelement type exposes the following members.

Methods

Name Description
Public method CanHaveTypeAssigned
Identifies if the subelement can have a type assigned.
Public method ChangeTypeId
Changes the type of the subelement.
Public method Static member Create
Creates an object representing element or subelement.
Public method Dispose
Releases all resources used by the Subelement
Public method Equals
Determines whether the specified Object is equal to the current Object .
(Inherited from Object .)
Public method GetAllParameters
Returns all parameters of this subelement.
Public method GetBoundingBox
Retrieves a box that circumscribes all geometry of the subelement.
Public method GetGeometryObject
Retrieve one geometric primitive representing given subelement.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object .)
Public method GetParameterValue
Obtains the current parameter value of this subelement given a parameter id.
Public method GetReference
Obtains the reference to this subelement.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method GetValidTypes
Obtains a set of types that are valid for this subelement.
Public method HasParameter
Checks if this subelement have given parameter.
Public method IsParameterModifiable
Checks if given parameter of this subelement is modifiable.
Public method Static member IsValidSubelementReference
Checks if given Reference identifies either a valid element or subelement.
Public method IsValidType
Checks if given type is valid for this subelement.
Public method SetParameterValue
Sets a new parameter value of this subelement given a parameter id.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)

Properties

Name Description
Public property Category
Retrieves a Category object that represents the category or sub category of the subelement.
Public property Document
The document in which the subelement resides.
Public property Element
The element in which the subelement resides.
Public property IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public property TypeId
The identifier of this subelement's type.
Public property UniqueId
A stable unique identifier for this subelement within the document.

See Also