add_point_load()
Applies a point load to a node within a load pattern.Parameters
ID of the node where the load is applied
Name of the load pattern
Force in X direction
Force in Y direction
Moment about Z axis
Coordinate system for the load. Options:
'GLOBAL'orCoordinateSystemType.GLOBAL- Global coordinate system'LOCAL'orCoordinateSystemType.LOCAL- Local coordinate system (node-specific)
If
True, replaces any existing load at this node. If False, adds to existing loadsRaises
ValueError- If the node or load pattern does not exist
add_distributed_load()
Applies a distributed load to a member within a load pattern.Parameters
ID of the member where the load is applied
Name of the load pattern
Load magnitude at the start of the member
Load magnitude at the end of the member
Coordinate system for the load. Options:
'GLOBAL'orCoordinateSystemType.GLOBAL'LOCAL'orCoordinateSystemType.LOCAL
Direction of the load. Options:Local directions:
'LOCAL_1'orDirectionType.LOCAL_1- Axial direction'LOCAL_2'orDirectionType.LOCAL_2- Shear direction (perpendicular)'LOCAL_3'orDirectionType.LOCAL_3- Moment
'X'orDirectionType.X'Y'orDirectionType.Y'X_PROJ'orDirectionType.X_PROJ- Projected in X'Y_PROJ'orDirectionType.Y_PROJ- Projected in Y'GRAVITY'orDirectionType.GRAVITY'GRAVITY_PROJ'orDirectionType.GRAVITY_PROJ- Projected gravity
Type of load. Currently only
'FORCE' or LoadType.FORCE is supportedIf
True, replaces any existing distributed load on this memberRaises
ValueError- If the member or load pattern does not existValueError- For truss elements, only axial loads (LOCAL_1) are allowed
add_prescribed_dof()
Applies prescribed displacements (support settlements) to a node within a load pattern.Parameters
ID of the node where the displacement is prescribed
Name of the load pattern
Prescribed displacement in X direction.
None means no prescribed displacementPrescribed displacement in Y direction.
None means no prescribed displacementPrescribed rotation about Z axis.
None means no prescribed rotationCoordinate system for the displacements. Options:
'GLOBAL'orCoordinateSystemType.GLOBAL'LOCAL'orCoordinateSystemType.LOCAL
Raises
ValueError- If the node or load pattern does not exist
add_self_weight()
Applies self-weight loads to all members in the model within a load pattern.Parameters
Name of the load pattern
Scaling factor for self-weight. Use negative values to reverse direction
Raises
ValueError- If the load pattern does not exist
