Revit 2025.3 API
Path |
Identifies whether an element id corresponds to a Rebar Shape element which can be used in Path Reinforcement.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool IsValidRebarShapeId( Document aDoc, ElementId elementId )
Public Shared Function IsValidRebarShapeId ( aDoc As Document, elementId As ElementId ) As Boolean
public: static bool IsValidRebarShapeId( Document^ aDoc, ElementId^ elementId )
static member IsValidRebarShapeId : aDoc : Document * elementId : ElementId -> bool
Parameters
Return Value
BooleanTrue if the specified element id corresponds to a Rebar Shape element.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
The Rebar Shape has to be two dimensional shape only
and its neighbouring segments may form only right angles.
See Also