|
M
AddDefinition(String, GeometryObject)
|
None
|
Add a definition to be reused by instances. A definition is a single geometry object.
|
|
|
M
AddDefinition(String, IList<GeometryObject>)
|
None
|
Add a definition to be reused by instances. A definition is a collection of geometry objects.
|
|
|
M
AddDefinitionType(String, ElementId)
|
None
|
Add a definition to be reused by instances. Adding a definition type will change how the instances are created.
When asked to create a definition, the library object will look for a corresponding type object.
If one is found, it will create an instance of geometry stored in the type object. If it is not found,
the library will look for a list of geometry objects stored as definition, and will copy and transform these
to create an instance.
|
|
|
M
Contains(String)
|
Boolean
|
A quick check whether a definition already exists in the library. Checks for stored geometry objects only.
|
|
|
M
ContainsType(String)
|
Boolean
|
A quick check whether a definition type already exists in the library. Checks for type objects only.
|
|
|
M
Dispose()
|
None
|
|
|
|
M
Equals
|
None
|
Determines whether the specified object is equal to the current object. (Inherited from Object )
|
Object
|
|
M
FindDefinition(String)
|
IList<GeometryObject>
|
Find a definition by id
|
|
|
M
FindDefinitionType(String)
|
ElementId
|
Find a DirectShapeType element by definition id. The element will be used for creating instances of that definition.
|
|
|
M
GetDirectShapeLibrary(Document)
|
DirectShapeLibrary
|
Get the currently active Library object
|
|
|
M
GetHashCode
|
None
|
Serves as the default hash function. (Inherited from Object )
|
Object
|
|
M
GetType
|
None
|
Gets the Type of the current instance. (Inherited from Object )
|
Object
|
|
M
Reset()
|
None
|
Removes all definitions from library. This is useful when importing several self-contained data sets within one session.
Once a data set is imported, keeping the definitions specific to that data set will slow down the searches.
|
|
|
M
ToString
|
None
|
Returns a string that represents the current object. (Inherited from Object )
|
Object
|