File3dmInstanceDefinitionTable Class

File3dmInstanceDefinitionTable Class

Provides access to instance (block) definitions in the 3dm file.
Inheritance Hierarchy

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class File3dmInstanceDefinitionTable : File3dmCommonComponentTable<InstanceDefinitionGeometry>, 
	IList<InstanceDefinitionGeometry>, ICollection<InstanceDefinitionGeometry>, IEnumerable<InstanceDefinitionGeometry>, 
	IEnumerable
Public Class File3dmInstanceDefinitionTable
	Inherits File3dmCommonComponentTable(Of InstanceDefinitionGeometry)
	Implements IList(Of InstanceDefinitionGeometry), ICollection(Of InstanceDefinitionGeometry), 
	IEnumerable(Of InstanceDefinitionGeometry), IEnumerable

The File3dmInstanceDefinitionTable type exposes the following members.

Properties
  NameDescription
Public propertyComponentType (Overrides CommonComponentTableTComponentType.)
Public propertyCount
Returns the count of all items, including deleted ones.
(Inherited from CommonComponentTableT.)
Top
Methods
  NameDescription
Public methodAdd(T)
Adds an item.
(Inherited from File3dmCommonComponentTableT.)
Public methodAdd(String, String, Point3d, IEnumerableGeometryBase)
Adds an instance definition to the instance definition table.
Public methodAdd(String, String, Point3d, GeometryBase, ObjectAttributes)
Adds an instance definition to the instance definition table.
Public methodAdd(String, String, Point3d, IEnumerableGeometryBase, IEnumerableObjectAttributes)
Adds an instance definition to the instance definition table.
Public methodClear
Marks all items as deleted.
(Inherited from CommonComponentTableT.)
Public methodDelete(Int32)
Flags a component as deleted.
(Inherited from File3dmCommonComponentTableT.)
Public methodDelete(T)
Flags a component as deleted.
(Inherited from File3dmCommonComponentTableT.)
Public methodDump
Prepares a text dump of object table.
(Inherited from File3dmCommonComponentTableT.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindId
Uses the guid to find a model component. Deleted objects cannot be found by id. The guid is the value that is stored in the .Id property. In a single document, no two active objects have the same guid. If an object is replaced with a new object, then the guid persists. For example, if the _Move command moves an object, then the moved object inherits its guid from the starting object. If the Copy command copies an object, then the copy gets a new guid. This guid persists through file saving/openning operations. This function will not find grip objects.
(Inherited from CommonComponentTableT.)
Public methodFindName
Finds an InstanceDefinitionGeometry given its name.
Public methodFindNameHash
Finds a InstanceDefinitionGeometry given its name hash.
Public methodGetEnumerator
Returns the enumerator that yields all items.
(Inherited from CommonComponentTableT.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Version Information

Rhino for Windows

Supported in: 6.8
See Also