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,AnalyticalModelSurface,XYZ,AreaLoadType)
public static AreaLoad Create(
Document aDoc,
AnalyticalModelSurface host,
XYZ forceVector,
AreaLoadType symbol
)
-
aDocDocument to which new area load will be added.
-
hostThe analytical surface host element (Analytical Floor, Analytical Foundation Slab or Analytical Wall) for the area Load.
-
forceVectorThe force vector applied to the 1st reference point of the area load.
-
symbolThe symbol of the AreaLoad. Set nulla null reference (Nothing in Visual Basic) to use default type.
Return Value
nullNothingnullptr
If successful, returns an object of the newly created AreaLoad. null Nothing nullptr a null reference ( Nothing in Visual Basic) is returned if the operation fails.
-
The element host was not found in the given document. -or- Thrown when force vector is equal zero.
-
A non-optional argument was null
-
Thrown if type could not be set for newly created line load.