RebarContainer.Create
Description:
Creates a new instance of a Rebar Container element within the project.
Creates a new instance of a Rebar Container element within the project.
Remarks:
Created Rebar Container starts out empty. Use appendItemFromRebar, appendItemFromCurves, appendItemFromRebarShape, appendItemFromCurvesAndShape to fill its content.
Created Rebar Container starts out empty. Use appendItemFromRebar, appendItemFromCurves, appendItemFromRebarShape, appendItemFromCurvesAndShape to fill its content.
public static RebarContainer Create(
Document aDoc,
Element hostElement,
ElementId rebarContainerTypeId
)
-
aDocA document.
-
hostElementThe element that will host the RebarContainer.
-
rebarContainerTypeIdThe id of the RebarContainerType.
-
The element hostElement was not found in the given document. -or- hostElement is not a valid rebar host. -or- the ElementId rebarContainerTypeId is either invalid or not a RebarContainerType.
-
A non-optional argument was NULL
-
None of the following disciplines is enabled: Structural.