Click or drag to resize

File3dmInstanceDefinitionTable Class

Provides access to instance (block) definitions in the 3dm file.
Inheritance Hierarchy
SystemObject
  Rhino.FileIOCommonComponentTableInstanceDefinitionGeometry
    Rhino.FileIOFile3dmCommonComponentTableInstanceDefinitionGeometry
      Rhino.FileIOFile3dmInstanceDefinitionTable

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

The File3dmInstanceDefinitionTable type exposes the following members.

Properties
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 methodAddLinked
Adds a linked 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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Version Information

Rhino for Windows

Supported in: 6.15
See Also