Extends
Methods
(static) add(type, nodes, mag, direction, elevations, mags, column_direction, loaded_members_axis, LG)
Create an area load with the next available ID.
Parameters:
Name | Type | Description |
---|---|---|
type |
"one_way" | "two_way" | "column_wind_load" | "open_structure" |
How the area load should distribute the load. |
nodes |
Array.<number> |
The IDs of the nodes which define the area for loading. Specify 3 or 4 values, in sequential order (clockwise or counterclockwise direction). |
mag |
number |
The magnitude of the load, in the units of pressure. |
direction |
"X" | "Y" | "Z" |
The direction of the load in the global axes. |
elevations |
string |
Relevant only if "type": "column_wind_load".The elevations between which the corresponding pressure magnitudes(see next row in this table) should be applied.This property should have 1 more value than the corresponding pressure magnitudes property. |
mags |
string |
Relevant only if "type": "column_wind_load".The magnitudes of pressures which should be applied between the corresponding elevations(see above row in this table).This property should have 1 less value than the corresponding elevations property. |
column_direction |
string |
Relevant only if "type": "one_way" or "type": "column_wind_load".The span direction of the applied area load.The values must be the IDs of 2 nodes which are in the nodes property. |
loaded_members_axis |
"all" | "major" |
Relevant only if "type": "open_structure".Whether to apply the open structure load to all members attaching to the nodes(indicated by all), or to only those members which lie along the global XYZ axes(indicated by major). |
LG |
string |
The load group to which this area load belongs. |
(static) getAreaLoadIdsFromNodesIds(nodes)
Get the IDs of all area loads that match the provided nodes array. Node order IS considered.
Parameters:
Name | Type | Description |
---|---|---|
nodes |
Array.<number> |
An array of node IDs that define the area load. At least 3 IDs are required. |