RVTDocs.com

RebarShapeDrivenAccessor.SetRebarShapeId

Method
Description:
Changes the RebarShape element that defines the shape of the rebar.
Syntax
public void SetRebarShapeId(
	ElementId shapeId
)
Parameters
Parameter Type Description
shapeId ElementId
Return Value
Exceptions
Exception Condition
ArgumentException shapeId is not the id of a RebarShape in the document.
ArgumentNullException A non-optional argument was null
InvalidOperationException This RebarShapeDrivenAccessor doesn't contain a valid rebar reference.