ManifestTable
ReferencesMaintains 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.
Properties
Total number of items in the manifest, including deleted items.
Total number of items in the manifest, including deleted items.
Returns the parent object. This is the RhinoDoc, or the File3md file.
Methods
Total number of items in the manifest, including deleted items.
Determines if an items is contained in this table.
Returns: True if the item is contained; otherwise, false.
Copies the content of this table to an array.
public void CopyTo()
array,
The array to copy to.
arrayIndex
The position in the array from which to start copying.
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 abstract ModelComponent FindId()
id,
ID of model component to search for.
type
The type to be searched. If this is ModelComponentType.Unset then all types are searched.
Returns: Reference to the rhino object with the objectId or null if no such object could be found.
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.
Returns: Reference to the rhino object with the objectId or null if no such object could be found.
Implements: FindId
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.
Returns: Reference to the rhino object or null if no such object could be found.
Uses the index to find a model component. The index is the value that is stored in the .Index property.
public abstract ModelComponent FindIndex()
index,
Index of model component to search for.
type
The type to be searched. Cannot be ModelComponentType.Unset.
Returns: Reference to the rhino object or null if no such object could be found.
Uses the index to find a model component. The index is the value that is stored in the .Index property.
Returns: Reference to the rhino object or null if no such object could be found.
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 abstract ModelComponent FindName()
name,
Name of model component to search for.
type,
The type to be searched. Cannot be ModelComponentType.Unset.
parent
Parent object id. This is only required for layers.
Returns: Reference to the rhino object or null if no such object could be found.
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.
Returns: Reference to the rhino object or null if no such object could be found.
Uses the hash of the name to find a model component. Deleted objects have no name.
public abstract ModelComponent FindNameHash()
nameHash,
NameHash of model component to search for.
type
The type to be searched. Cannot be ModelComponentType.Unset.
Returns: Reference to the rhino object or null if no such object could be found.
Uses the hash of the name to find a model component. Deleted objects have no name.
Visits all model components in the document, including default ones.
Returns: An enumerator.
Returns an enumerators that yields all model components, including default ones, relating to a particular type.
Returns: An enumerator.
Visits all model components in the document, including default ones.
Returns: An enumerator.
Implements: FindNameHash