add_restraint()
Applies restraints (fixed boundary conditions) to a node.Parameters
ID of the node where restraints are applied
If
True, restrains translation in X directionIf
True, restrains translation in Y directionIf
True, restrains rotation about Z axisRaises
ValueError- If the node does not existValueError- If ux, uy, or rz are not boolean values
add_elastic_support()
Applies elastic spring supports to a node.Parameters
ID of the node where elastic support is applied
Spring stiffness in X direction.
None means no spring in this directionSpring stiffness in Y direction.
None means no spring in this directionRotational spring stiffness about Z axis.
None means no rotational springCoordinate system for spring directions. Options:
'GLOBAL'orCoordinateSystemType.GLOBAL'LOCAL'orCoordinateSystemType.LOCAL
Raises
ValueError- If the node does not exist
add_local_axis_for_node()
Defines a local coordinate system for a node by specifying a rotation angle.Parameters
ID of the node
Rotation angle of the local axis in degrees (counterclockwise from global X)
Raises
ValueError- If the node does not exist
Notes
Local axes are useful for:- Applying inclined supports
- Getting results in a node-specific coordinate system
- Defining local load directions
add_end_length_offset()
Adds rigid end offsets (rigid arms) to a member.Parameters
ID of the member
End offset length at start node (i-end)
End offset length at end node (j-end)
If
True, loads are applied on the rigid arm at start nodeIf
True, loads are applied on the rigid arm at end nodeRigid zone factor for start node (1.0 = fully rigid)
Rigid zone factor for end node (1.0 = fully rigid)
Raises
ValueError- If the member does not exist
add_releases()
Adds member end releases to create pins or other partial connections.Parameters
ID of the member
If
True, releases axial force at start node (i-end)If
True, releases shear force at start node (i-end)If
True, releases moment at start node (i-end)If
True, releases axial force at end node (j-end)If
True, releases shear force at end node (j-end)If
True, releases moment at end node (j-end)Raises
ValueError- If the member does not existValueError- If both axial releases (pi and pj) are specifiedValueError- If both shear releases (vi and vj) are specified
set_property_modifiers()
Modifies the properties of a section by applying scaling factors.Parameters
Name of the section to modify
Multiplier for axial area (1.0 = no modification)
Multiplier for shear area (1.0 = no modification)
Multiplier for moment of inertia (1.0 = no modification)
Multiplier for weight (1.0 = no modification)
Raises
ValueError- If the section does not exist
