RVTDocs.com

CurtainGridLine.AddMullions

Method
Description:
Add mullions on the specified segments of a grid. If any segment already has a mullion, no change is made to that segment.
Syntax
public ElementSet AddMullions(
	Curve segment,
	MullionType mullionType,
	bool oneSegmentOnly
)
Parameters
Parameter Type Description
segment Curve Curve of the segment.
mullionType MullionType The type of the mullion to add.
oneSegmentOnly Boolean If true, add one mullion to the specified segment, otherwise add mullions to all the segments of the matching grid line.
Return Value
Type Description
ElementSet If operation succeeds, the created mullions will be returned.
Exceptions
Exception Condition
InvalidOperationException Invalid curtain grid line or invalid mullion type argument.