M

Railing.Create

Description:
Creates a new railing by specifying the railing path in the project document.
public static Railing Create(
	Document document,
	CurveLoop curveLoop,
	ElementId railingTypeId,
	ElementId baseLevelId
)
Return Value nullNothingnullptr The new railing instance if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .