RVTDocs.com

RebarContainer.AppendItemFromRebar

Method
Description:
Appends an Item to the RebarContainer. Fills its data on base of the Rebar. Will throw exception if given rebar is not shape driven. Will throw exception if given rebar has moved bars in set.
Syntax
Parameters
Parameter Type Description
rebar Rebar The Rebar.
Return Value
Type Description
RebarContainerItem The Rebar Container Item.
Exceptions
Exception Condition
ArgumentException The RebarShape of rebar has End Treatments -or- Can't create container from free-form rebar. -or- Can't create container from Rebar with moved bars.
ArgumentNullException A non-optional argument was null