Element class
Provides a Revit Element wrapper over an InstanceAsset
object.
public class Element
Public Members
name | description |
---|---|
Asset { get; } | Returns the underlying InstanceAsset for this element. |
Category { get; } | Returns the Revit Category for this element. |
Family { get; } | Returns the Revit Family for this element, if it exits. Returns Empty if a Revit family does not exist for this element |
HasGeometry { get; } | Specifies if the element hold geometry. If false, this element's child elements (if any) may still contain geometry. |
Id { get; set; } | Returns the unique Revit Element Id for this element. |
InstanceParameters { get; } | List of Revit Instance Parameters for this element |
Name { get; set; } | Name |
Transformation { get; } | Gets the transformation. |
Type { get; } | Returns the Revit Type for this element, if it exits. Returns Empty if a Revit Type does not exist for this element |
TypeParameters { get; } | List of Revit Type Parameters for this element |
CreateInstanceParameterAsync(…) | Create instance parameter |
CreateReferenceNameOnlyParametersAsync(…) | Create reference name only parameters for given referenced entity. (2 methods) |
CreateReferenceParameterAsync(…) | Create reference parameter (2 methods) |
DeleteInstanceParameter(…) | Delete instance parameter (2 methods) |
GetChildElements() | Returns a list of child Element s for this element. |
GetStatus(…) | Get status newer revisions such as created, deleted, etc. |
UpdateInstanceParameter(…) | Update existing instance parameter with specified value. (2 methods) |
Protected Members
name | description |
---|---|
GetService<T>() |
See Also
- namespace Autodesk.DataExchange.DataModels