AreaReinforcement.Create
Description:
Creates a new AreaReinforcement object based on a host boundary.
Creates a new AreaReinforcement object based on a host boundary.
Overloads (2):
Create(Document,Element,XYZ,ElementId,ElementId,ElementId)
-
documentThe document.
-
hostElementThe element that will host the AreaReinforcement. The host can be a Structural Floor, Structural Wall, Structural Slab, or a Part created from a structural layer belonging to one of those element types.
-
majorDirectionA vector to define the major direction of the AreaReinforcement.
-
areaReinforcementTypeIdThe id of the AreaReinforcementType.
-
rebarBarTypeIdThe id of the RebarBarType.
-
rebarHookTypeIdThe id of the RebarHookType. If this parameter is InvalidElementId, it means to create a rebar with no hooks.
-
The element hostElement was not found in the given document. -or- the host Element is not a valid host for Area Reinforcement, Path Reinforcement, Fabric Area or Fabric Sheet. -or- areaReinforcementTypeId should refer to an AreaReinforcementType element. -or- rebarBarTypeId should refer to an RebarBarType element. -or- rebarHookTypeId should be invalid or refer to an RebarHookType element.
-
A non-optional argument was null
-
majorDirection has zero length.
-
This method may not be called during dynamic update.