A quick check whether a definition already exists in the library. Checks for stored geometry objects only.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public bool Contains( string id )
Parameters
- id String
- Definition id
Return Value
BooleanTrue if a geometry definition exists, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |