RVTDocs.com

Railing.IsValidPathForRailing

Method
Description:
Checks whether a railing can be created along a railing path.
Remarks:
The railing path should be located on the same horizontal plane and it should contain lines or arcs only. It also has to be continuous and its three or more curves cannot meet in one end point.
Syntax
public static bool IsValidPathForRailing(
	CurveLoop curveLoop
)
Parameters
Parameter Type Description
curveLoop CurveLoop The railing path along which the new railing will be created.
Return Value
Type Description
Boolean True if the new railing path can be used in a railing definition, False otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null