2024 Method
Changes 0
M

Rebar.GetShapeId

Description:
Returns the id of the RebarShape element that defines the shape of the rebar.
Remarks:

A Free Form Rebar that has Workshop Instructions set to Bent is considered to have multiple shapes and this method will throw exception.

A Free Form Rebar that has Workshop Instructions set to Straight or a Shape Driven is considered to have only one shape and this method will return the id of that shape.

public ElementId GetShapeId()
ElementId