Share

DirectShapeLibrary.FindDefinitionType Method

Find a DirectShapeType element by definition id. The element will be used for creating instances of that definition.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

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

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?