Share

PathReinforcement.IsValidRebarShapeId Method

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

C#

public static bool IsValidRebarShapeId(
	Document aDoc,
	ElementId elementId
)

Parameters

aDoc  Document
The document.
elementId  ElementId
An element id.

Return Value

Boolean
True if the specified element id corresponds to a Rebar Shape element.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

The Rebar Shape has to be two dimensional shape only and its neighbouring segments may form only right angles.

See Also

Reference

Was this information helpful?