Share

Railing.IsValidPathForRailing Method

Checks whether a railing can be created along a railing path.


Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static bool IsValidPathForRailing(
	CurveLoop curveLoop
)

Parameters

curveLoop  CurveLoop
The railing path along which the new railing will be created.

Return Value

Boolean
True if the new railing path can be used in a railing definition, False otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

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.

See Also

Reference

Was this information helpful?