Hi,
I'm trying to set force eccentricity on nodal loads via API II (Python/gRPC).
The API docs don't list it: https://apidocs.dlubal.com/source/rst_objects/rfem/loads/nodal_load.html
But looking at nodal_load_pb2.pyi in the dlubal package, the fields exist:
force_eccentricity: _common_pb2.Vector3d
force_eccentricity_x: float
force_eccentricity_y: float
force_eccentricity_z: float
I tried setting it like this:
rfem.loads.NodalLoad(
no=1,
load_case=10,
nodes=[5],
load_type=rfem.loads.NodalLoad.LOAD_TYPE_FORCE,
coordinate_system=3,
load_direction=rfem.loads.NodalLoad.LOAD_DIRECTION_GLOBAL_X_OR_USER_DEFINED_U_TRUE_LENGTH,
force_magnitude=50000.0,
force_eccentricity_z=0.35,
)
No errors, but when I check the model in RFEM the "Force Eccentricity" checkbox isn't ticked and the value isn't there.
I notice there's no has_force_eccentricity boolean like there is has_specific_direction for specific direction. Is there a flag I'm missing, or is this field not writable yet (ie not implemented in the api yet)?
Thanks