Maxwell2d.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.

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, in which case the default name is used.


True when successful, False when failed.


>>> oModule.AssignTorque