AreaLoad.Create
Description:
Creates a new hosted area load within the project.
Creates a new hosted area load within the project.
Overloads (3):
Create(Document,ElementId,XYZ,AreaLoadType)
public static AreaLoad Create(
Document document,
ElementId hostElemId,
XYZ forceVector,
AreaLoadType symbol
)
-
documentDocument to which new area load will be added.
-
hostElemIdThe analytical surface host element id for the area Load.
-
forceVectorThe force vector applied to the 1st reference point of the area load.
-
symbolThe symbol of the AreaLoad. Set null to use default type.
Return Value
AreaLoad
If successful, returns an object of the newly created AreaLoad. is returned if the operation fails.
-
The element hostElemId does not exist in the document -or- hostElemId is not permitted for this type of load. -or- Thrown when force vector is equal zero. -or- hostElemId is not a valid host for area load.
-
A non-optional argument was null
-
Thrown if type could not be set for newly created area load.