NamedConstructionPlaneTable

References
Contains all named construction planes in a rhino document.

This class cannot be inherited.

Properties

Count

#Since v5.0
Number of construction planes in the table.
public int Count { get; }

Document

#Since v5.0
Gets the document that owns this table.
public RhinoDoc Document { get; }

Indexers

this[]

#
Conceptually, the named construction plane table is an array of ConstructionPlanes and their associated names. The operator[] can be used to get individual ConstructionPlanes.
public ConstructionPlane this[
index
Zero based array index.
] { get; }
A construction plane at the index, or null on error.

Methods

Add

#Since v8.18
Adds named construction plane to document.
public int Add(
constructionPlane
The construction plane value.
)
0 based index of named construction plane. -1 on failure.

Add

#Since v5.0
Adds named construction plane to document.
public int Add(
name,
If name is empty, a unique name is automatically created. If there is already a named construction plane with the same name, that construction plane is replaced.
plane
The plane value.
)
0 based index of named construction plane. -1 on failure.

Delete

#Since v5.0
Remove named construction plane from the document.
public bool Delete(
index
zero based array index.
)
true if successful.

Delete

#Since v5.0
Remove named construction plane from the document.
public bool Delete(
name
name of the construction plane.
)
true if successful.

Find

#Since v5.0
Finds a named construction plane.
public int Find(
name
Name of construction plane to search for.
)
>=0 index of the construction plane with the given name. -1 no construction plane found with the given name.

GetEnumerator

#Since v5.0
public IEnumerator<ConstructionPlane> GetEnumerator()
Explicit

IEnumerable.GetEnumerator

#Since v5.0
IEnumerator IEnumerable.GetEnumerator()