ManifestTable
Maintains an index to every model component that is in the 3dm file. This is the “more comprehensive” table that contains all objects in all other tables.
Inheritance Hierarchy
System.Object
Rhino.FileIO.ManifestTable
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract class ManifestTable : ICommonComponentTable<ModelComponent>, IReadOnlyCollection<ModelComponent>, IEnumerable<ModelComponent>, IEnumerable, ICollection<ModelComponent>
The ManifestTable type exposes the following members.
Properties
Name
Description
Public Property
ComponentType
Returns Mixed.
Public Property
Count
Total number of items in the manifest, including deleted items.
Public Property
LongCount
Total number of items in the manifest, including deleted items.
Public Property
Parent
Returns the parent object. This is the RhinoDoc, or the File3md file.
Methods
Name
Description
Public Method
ActiveObjectCount
Total number of items in the manifest, including deleted items.
Public Method
Clear
Marks all items as deleted.
Public Method
Contains
Determines if an items is contained in this table.
Public Method
CopyTo
Copies the content of this table to an array.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public Method
FindId(Guid)
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/opening operations. This function will not find grip objects.
Public Method
FindId(Guid, ModelComponentType)
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/opening operations. This function will not find grip objects.
Public Method
FindId.T.(Guid)
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/opening operations. This function will not find grip objects.
Public Method
FindIndex(Int32, ModelComponentType)
Uses the index to find a model component. The index is the value that is stored in the .Index property.
Public Method
FindIndex.T.(Int32)
Uses the index to find a model component. The index is the value that is stored in the .Index property.
Public Method
FindName(String, ModelComponentType, Guid)
Uses the name to find a model component. The name is the value that is stored in the .Name property. Deleted objects have no name.
Public Method
FindName.T.(String, Guid)
Uses the name to find a model component. The name is the value that is stored in the .Name property. Deleted objects have no name.
Public Method
FindNameHash(NameHash, ModelComponentType)
Uses the hash of the name to find a model component. Deleted objects have no name.
Public Method
FindNameHash.T.(NameHash)
Uses the hash of the name to find a model component. Deleted objects have no name.
Public Method
GetEnumerator.
Visits all model components in the document, including default ones.
Public Method
GetEnumerator(ModelComponentType)
Returns an enumerators that yields all model components, including default ones, relating to a particular type.
Public Method
GetEnumerator.T..
Visits all model components in the document, including default ones.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
Static Member
GetModelComponentTypeFromGenericType.T.
Returns the result of the ComponentType property of a ModelComponent.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)