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: 23.0.0.0 (23.1.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