Find a DirectShapeType element by definition id. The element will be used for creating instances of that definition.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ElementId FindDefinitionType(
string id
)
Parameters
- id String
-
Definition id. Expected to be unique.
Return Value
ElementId
Element id of a DirectShapeTypeElement
Exceptions
See Also
Reference