assign_force

Maxwell3d.assign_force(input_object, reference_cs='Global', is_virtual=True, force_name=None)

Assign a force to the selection.

Parameters
input_objectstr, list

One or more objects to assign a force to.

reference_csstr, optional

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

is_virtualbool, optional

Whether the force is virtual. The default is True.

force_namestr, optional

Name of the force. The default is None.

Returns
bool

True when successful, False when failed.

References

>>> oModule.AssignForce