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
Returns ModelComponentType.Mixed.
Implements: ComponentType
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.
Parameters:
| type (ModelComponentType) |
Determines if an items is contained in this table.
Parameters:
| item (ModelComponent) | An item, or null. Null is never contained. |
Returns: True if the item is contained; otherwise, false.
Copies the content of this table to an array.
Parameters:
| array (ModelComponent[]) | The array to copy to. |
| arrayIndex (int) | 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.
Parameters:
| id (Guid) | ID of model component to search for. |
| type (ModelComponentType) | 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.
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.
Parameters:
| id (Guid) | Index of model component to search for. |
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.
Parameters:
| index (int) | Index of model component to search for. |
| type (ModelComponentType) | 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.
Parameters:
| index (int) | Index of model component to search for. |
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.
Parameters:
| name (string) | Name of model component to search for. |
| type (ModelComponentType) | The type to be searched. Cannot be ModelComponentType.Unset. |
| parent (Guid) | 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.
Uses the hash of the name to find a model component. Deleted objects have no name.
Parameters:
| nameHash (NameHash) | NameHash of model component to search for. |
| type (ModelComponentType) | 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.
Parameters:
| nameHash (NameHash) | Name hash of model component to search for. |
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.
Parameters:
| type (ModelComponentType) | The model component type. |
Returns: An enumerator.
Visits all model components in the document, including default ones.
Returns: An enumerator.
Returns the result of the ComponentType property of a ModelComponent.
Returns: A ModelComponentType.
Parameters:
| nameHash (NameHash) |
Implements: FindNameHash
Parameters:
| item (ModelComponent) |
Parameters:
| item (ModelComponent) |