ManifestTable

References
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.

Properties

ComponentType

#Since v6.0
public ModelComponentType ComponentType { get; }
ComponentType

Count

#Since v6.0
Total number of items in the manifest, including deleted items.
public int Count { get; }

LongCount

#Since v6.0
Total number of items in the manifest, including deleted items.
public long LongCount { get; }

Parent

#Since v6.0
Returns the parent object. This is the RhinoDoc, or the File3md file.
public abstract object Parent { get; }

Methods

ActiveObjectCount

#Since v6.0
Total number of items in the manifest, including deleted items.
public int ActiveObjectCount()

Clear

#Since v6.0
Marks all items as deleted.
public virtual void Clear()

Contains

#Since v6.0
Determines if an items is contained in this table.
public bool Contains(
item
An item, or null. Null is never contained.
)
True if the item is contained; otherwise, false.

CopyTo

#Since v6.0
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.
)

FindId

#Since v6.0
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.
)
Reference to the rhino object with the objectId or null if no such object could be found.

FindId

#Since v6.0
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.
)
Reference to the rhino object with the objectId or null if no such object could be found.
FindId

FindId<T>

#Since v6.0
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 T FindId<T>(
id
Index of model component to search for.
)
Reference to the rhino object or null if no such object could be found.

FindIndex

#Since v6.0
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.
)
Reference to the rhino object or null if no such object could be found.

FindIndex<T>

#Since v6.0
Uses the index to find a model component. The index is the value that is stored in the .Index property.
public T FindIndex<T>(
index
Index of model component to search for.
)
Reference to the rhino object or null if no such object could be found.

FindName

#Since v6.0
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.
)
Reference to the rhino object or null if no such object could be found.

FindName<T>

#Since v6.0
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 T FindName<T>(
name,
Name of model component to search for.
parent
Parent object id. This is only required for layers.
)
Reference to the rhino object or null if no such object could be found.

FindNameHash

#Since v6.0
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.
)
Reference to the rhino object or null if no such object could be found.

FindNameHash<T>

#Since v6.0
Uses the hash of the name to find a model component. Deleted objects have no name.
public T FindNameHash<T>(
nameHash
Name hash of model component to search for.
)

GetEnumerator

#Since v6.0
Visits all model components in the document, including default ones.
public virtual IEnumerator<ModelComponent> GetEnumerator()
An enumerator.

GetEnumerator

#Since v6.0
Returns an enumerators that yields all model components, including default ones, relating to a particular type.
public abstract IEnumerator<ModelComponent> GetEnumerator(
type
The model component type.
)
An enumerator.

GetEnumerator<T>

#Since v6.0
Visits all model components in the document, including default ones.
public virtual IEnumerator<T> GetEnumerator<T>()
An enumerator.

GetModelComponentTypeFromGenericType<T>

#Since v6.0
Returns the result of the ComponentType property of a ModelComponent.
public static ModelComponentType GetModelComponentTypeFromGenericType<T>()
A ModelComponentType.
Explicit

ICommonComponentTable<ModelComponent>.FindNameHash

#Since v6.0
FindNameHash
Explicit

IEnumerable.GetEnumerator

#Since v6.0
IEnumerator IEnumerable.GetEnumerator()