File3dmNamedConstructionPlanes

References
Provides access to named construction planes in the 3dm file.

Properties

Count

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

Indexers

Explicit

IList<ConstructionPlane>.this[]

#
index (int)

this[]

#
public ConstructionPlane this[int index] { get; }
Gets the named construction plane at an index.
index (int)Zero based array index.
A construction plane at the index, or null on error.

Methods

Add

#Since v6.0
public int Add(string name, Plane plane)
Adds a named construction plane to the table.
name (string)The name of the named construction plane.
plane (Plane)The plane value.
0 based index of the named construction plane. -1 on failure.

Add

#Since v6.0
public void Add(ConstructionPlane cplane)
Adds a named construction plane to the table.
cplane (ConstructionPlane)The construction plane to add.

Clear

#Since v6.0
public void Clear()
Removes all named construction planes from the table.

Contains

#Since v6.0
public bool Contains(ConstructionPlane cplane)
Returns an indication of the presence of a named construction plane in the table.
cplane (ConstructionPlane)The construction plane to check.
true if the named construction plane is in the table; false otherwise.

CopyTo

#Since v6.0
public void CopyTo(ConstructionPlane[] array, int arrayIndex)
Copies the content of the table to an array.
array (ConstructionPlane[])
arrayIndex (int)

Delete

#Since v6.0
public bool Delete(ConstructionPlane cplane)
Deletes a named construction plane from the table.
cplane (ConstructionPlane)The construction plane to delete.

Delete

#Since v6.0
public bool Delete(int index)
Remove a named construction plane from the table.
index (int)Zero based array index.
true if successful.

FindName

#Since v6.0
public ConstructionPlane FindName(string name)
Finds a named construction plane given its name.
name (string)The name of the construction plane to be searched.
A ConstructionPlane, or null if not found.

GetEnumerator

#Since v6.0
public IEnumerator<ConstructionPlane> GetEnumerator()
Gets an enumerator that yields all construction planes in this collection.
The enumerator.

IndexOf

#Since v6.0
public int IndexOf(ConstructionPlane cplane)
Returns the index of a named construction plane.
cplane (ConstructionPlane)The construction plane to be searched.
The index of the named construction plane, -1 if not found.
Explicit

IList<ConstructionPlane>.Insert

#
void IList<ConstructionPlane>.Insert(int index, ConstructionPlane cplane)
index (int)
cplane (ConstructionPlane)
Explicit

IList<ConstructionPlane>.RemoveAt

#
void IList<ConstructionPlane>.RemoveAt(int index)
index (int)
Explicit

IEnumerable.GetEnumerator

#Since v6.0
IEnumerator IEnumerable.GetEnumerator()