Extends
Methods
(static) add(node_A, node_B, section_id, fixity_A, fixity_B, type, cable_length)
Create a member with the next available ID.
Parameters:
Name | Type | Description |
---|---|---|
node_A |
number |
The ID of the node at the beginning of the member. |
node_B |
number |
The ID of the node at the end of the member. |
section_id |
number |
The ID of the section to apply to the member. |
fixity_A |
string |
See docs for restraint code https://skyciv.com/api/v3/docs/s3d-model#restraint-code. |
fixity_B |
string |
See docs for restraint code https://skyciv.com/api/v3/docs/s3d-model#restraint-code. |
type |
"normal" | "normal_continuous" | "cable" | "rigid" |
The type of member. |
cable_length |
number |
Required only when type = cable. |
(static) getMemberIdsFromNodesIds(node_A, node_B)
Get the IDs of all members by its end nodes.
Parameters:
Name | Type | Description |
---|---|---|
node_A |
number |
The ID of Node A. |
node_B |
number |
The ID of Node B. |