Extends
Methods
(static) add(type, node, member, position, x_mag, y_mag, z_mag, load_group)
Create a point load with the next available ID.
Parameters:
Name | Type | Description |
---|---|---|
type |
"n" | "m" |
The type of object to which the load is applied. node, member. |
node |
number |
The node ID which the point load is located. If type is "m", provide value null. |
member |
number |
The member ID which the point load is located. If type is "n", provide value null. |
position |
number |
The percentage from node_A to node_B of the member which the point load is located. E.g. 10 for 10%. If type is "n", provide value null. |
x_mag |
number |
The magnitude of the point load force along the x-axis. |
y_mag |
number |
The magnitude of the point load force along the y-axis. |
z_mag |
number |
The magnitude of the point load force along the z-axis. |
load_group |
string |
The load group to which the point load will be grouped. |
(static) idFromElementId(type, element_id)
Find a point load's ID from the node ID which it is located.
Parameters:
Name | Type | Description |
---|---|---|
type |
"n" | "m" |
The type of object to which the load is applied. node, member. |
element_id |
number |
The node or member ID of the point load to find. |
(private, static) verify(loadIndex, type, node, member)
Check if a node or member ID is provided depending on type="n"|"m".
Parameters:
Name | Type | Description |
---|---|---|
loadIndex |
number | |
type |
"n" | "m" | |
node |
number | |
member |
number |