A quick check whether a definition already exists in the library. Checks for stored geometry objects only.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public bool Contains(
string id
)
Parameters
- id String
-
Definition id
Return Value
Boolean
True if a geometry definition exists, false otherwise.
Exceptions
See Also
Reference