RVTDocs.com

DirectShapeLibrary.ContainsType

Method
Description:
A quick check whether a definition type already exists in the library. Checks for type objects only.
Syntax
public bool ContainsType(
	string name
)
Parameters
Parameter Type Description
name String Definition id
Return Value
Type Description
Boolean True if a geometry definition exists, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null