assign_torque

Maxwell3d.assign_torque(input_object, reference_cs='Global', is_positive=True, is_virtual=True, axis='Z', torque_name=None)

Assign a torque to one or more objects.

Parameters
input_objectstr or list

One or more objects to assign the torque to.

reference_csstr, optional

Name of the reference coordinate system. The default is "Global".

is_positivebool, optional

Whether the torque is positive. The default is True.

is_virtualbool, optional

Whether the torque is virtual. The default is True.

axisstr, optional

Axis to apply the torque to. The default is "Z".

torque_namestr, optional

Name of the torque. The default is None.

Returns
bool

True when successful, False when failed.

References

>>> oModule.AssignTorque