A quick check whether a definition type already exists in the library. Checks for type objects only.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2015
Syntax
C# |
---|
public bool ContainsType(
string name
) |
Visual Basic |
---|
Public Function ContainsType ( _
name As String _
) As Boolean |
Visual C++ |
---|
public:
bool ContainsType(
String^ name
) |
Parameters
- name
- Type: System..::..String
Definition id
Return Value
True if a geometry definition exists, false otherwise.
Exceptions
See Also