FabricArea.Create
Description:
Creates a FabricArea based on a host boundary.
Creates a FabricArea based on a host boundary.
Overloads (2):
Create(Document,Element,XYZ,ElementId,ElementId)
-
aDocThe document.
-
hostElementThe element that will host the FabricArea. 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 FabricArea.
-
fabricAreaTypeIdThe id of the FabricAreaType.
-
fabricSheetTypeIdThe id of the FabricSheetType.
-
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- fabricAreaTypeId should refer to an FabricAreaType element. -or- fabricSheetTypeId should refer to an FabricSheetType element.
-
A non-optional argument was null
-
majorDirection has zero length.