Rail profile must have one closed loop. Wrong profile will not be shown in profiles list for rail definition.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static FailureDefinitionId BadRailingsProfile { get; }