InstanceDefinition Methods |
The InstanceDefinition type exposes the following members.
| Name | Description | |
|---|---|---|
| ClearId |
Resets the HasId property of the model component to false, if possible.
(Inherited from ModelComponent.) | |
| ClearIndex |
Resets the HasIndex property of the model component to false, if possible.
(Inherited from ModelComponent.) | |
| ClearName |
Resets the HasName property of the model component to false, if possible.
(Inherited from ModelComponent.) | |
| CreatePreviewBitmap(DefinedViewportProjection, Size) |
Creates a wireframe preview bitmap of the instance definition.
| |
| CreatePreviewBitmap(DefinedViewportProjection, DisplayMode, Size) |
Creates a preview bitmap of the instance definition.
| |
| CreatePreviewBitmap(DefinedViewportProjection, Size, Boolean) |
Creates a wireframe preview bitmap of the instance definition.
| |
| CreatePreviewBitmap(DefinedViewportProjection, DisplayMode, Size, Boolean) |
Creates a preview bitmap of the instance definition.
| |
| CreatePreviewBitmap(Guid, DefinedViewportProjection, DisplayMode, Size, Boolean) |
Creates a preview bitmap of the instance definition.
| |
| CreatePreviewBitmap(Guid, DefinedViewportProjection, IsometricCamera, Boolean, Size, Boolean) |
Creates a preview bitmap of the instance definition.
| |
| DataCRC |
Increments the Cyclic Redundancy Check value by this instance.
(Inherited from ModelComponent.) | |
| DeleteAllUserStrings |
Deletes all user strings attached to this geometry.
(Inherited from InstanceDefinitionGeometry.) | |
| DeleteUserString |
Deletes the user string with the specified key from this geometry.
(Inherited from InstanceDefinitionGeometry.) | |
| Dispose |
Actively reclaims unmanaged resources that this instance uses.
(Inherited from CommonObject.) | |
| EnsurePrivateCopy |
If you want to keep a copy of this class around by holding onto it in a variable after a command
completes, call EnsurePrivateCopy to make sure that this class is not tied to the document. You can
call this function as many times as you want.
(Inherited from CommonObject.) | |
| Equals |
Equality is checked against InstanceDefinition.Id
(Overrides ObjectEquals(Object).) | |
| GetContainers |
Gets a list of all the InstanceDefinitions that contain a reference this InstanceDefinition.
| |
| GetHashCode |
Use Id.GetHashCode()
(Overrides ObjectGetHashCode.) | |
| GetObjectData |
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
(Inherited from CommonObject.) | |
| GetObjectIds |
Returns the unique identifiers of all objects that are part of this instance definition's geometry table.
(Inherited from InstanceDefinitionGeometry.) | |
| GetObjects |
Gets an array with the objects that belong to this instance definition.
| |
| GetReferences |
Gets a list of the CRhinoInstanceObjects (inserts) that contains
a reference this instance definition.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUserString |
Gets user string from this geometry.
(Inherited from InstanceDefinitionGeometry.) | |
| GetUserStrings |
Gets a copy of all (user key string, user value string) pairs attached to this geometry.
(Inherited from InstanceDefinitionGeometry.) | |
| InUse |
Determines whether the instance definition is referenced.
| |
| IsValidWithLog |
Determines if an object is valid. Also provides a report on errors if this
object happens not to be valid.
(Inherited from CommonObject.) | |
| LockId |
Locks the component Id property.
(Inherited from ModelComponent.) | |
| LockIndex |
Locks the component Index property.
(Inherited from ModelComponent.) | |
| LockName |
Locks the component Name property.
(Inherited from ModelComponent.) | |
| Object |
returns an object used as part of this definition.
| |
| SetUserString |
Attach a user string (key,value combination) to this geometry.
(Inherited from InstanceDefinitionGeometry.) | |
| ToJSON |
Create a JSON string representation of this object
(Inherited from CommonObject.) | |
| ToString |
Returns the name of the model component type, and then its name and index.
(Inherited from ModelComponent.) | |
| UseCount |
Returns the number of references of this instance definition in the model.
Both top-level references and nested instances are included in the count.
| |
| UseCount(Int32, Int32) |
Returns the number of references of this instance definition in the model.
Both top-level references and nested instances are included in the count.
| |
| UsesDefinition |
Determines if this instance definition contains a reference to another instance definition.
| |
| UsesLayer |
Returns true if some object in the instance definition is on the layer with the specified layer index.
| |
| UsesLinetype |
Returns true if some object in the instance definition references the linetype with the specified linetype index.
|