The Autodesk.Revit.DB.MullionTypeSetIterator
class is used in Revit to iterate over a set of mullion types. A mullion is a structural element used in curtain walls to support the glazing panels.
The MullionTypeSetIterator
class has one readable property:
Current
: returns the current mullion type in the iterationThe MullionTypeSetIterator
class has two main methods:
MoveNext()
: advances the iterator to the next mullion type in the set. Returns true
if successful, false
if there are no more mullion types in the set.Reset()
: sets the iterator back to the first mullion type in the set.To use the MullionTypeSetIterator
, you must first obtain a MullionTypeSet
object. This set can be obtained using the CurtainSystem
class or the CurtainGrid
class.
// Example usage
MullionTypeSetIterator itr = null;
MullionTypeSet mullionSet = curtainGrid.GetMullionTypes();
itr = mullionSet.ForwardIterator();
while(itr.MoveNext())
{
MullionType currMullion = itr.Current;
// Do something with the current mullion type
}
MullionType
: represents a mullion type in a Revit projectMullionTypeSet
: represents a set of mullion types for a curtain system or curtain gridCurtainSystem
: represents a curtain wall system in RevitCurtainGrid
: represents a curtain grid in a Revit project