SubDFaceList

References
All faces in a SubD

Properties

Count

#Since v7.0
Gets the number of SubD faces.
public int Count { get; }

HasPerFaceColors

#Since v8.18
True if one or more faces on the active level have per face color overrides.
public bool HasPerFaceColors { get; }
Remarks: Per face colors are a mutable property on SubDFace and are set with SubDFace.PerFaceColor.

Methods

Add

#Since v8.36
Adds a face bounded by the given edges.
public SubDFace Add(
edges
The edges of the new face, in order around its boundary. There must be at least three. Each edge is traversed according to its SubDComponent.ComponentDirection, so consecutive edges have to meet: the end vertex of one is the start vertex of the next. Set ComponentDirection on the edges before calling this to orient the loop.
)
The new face, or null if the edges do not form a usable boundary.

ClearPerFaceColors

#Since v8.18
Removes all per face color overrides on the active level.
[CLSCompliant(false)] public uint ClearPerFaceColors()
Remarks: Per face colors are a mutable property on SubDFace and are set with SubDFace.PerFaceColor.
Number of changed faces.

Find

#Since v7.0
Find a face in this SubD with a given id
public SubDFace Find(
id
)

Find

#Since v7.0
Find a face in this SubD with a given id
[CLSCompliant(false)] public SubDFace Find(
id
)

GetEnumerator

#Since v7.0
Implementation of IEnumerable
public IEnumerator<SubDFace> GetEnumerator()
Explicit

IEnumerable.GetEnumerator

#Since v7.0
IEnumerator IEnumerable.GetEnumerator()