Checks whether new railing can be created and placed on the specified host.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool IsValidHostForNewRailing( Document document, ElementId elementId )
Parameters
Return Value
BooleanTrue if new railing can be created and placed on the host, False otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |