assign_current

Maxwell3d.assign_current(object_list, amplitude=1, phase='0deg', solid=True, swap_direction=False, name=None)

Assign the source of the current.

Parameters
object_listlist

List of objects to assign the current source to.

amplitudefloat, optional

Current amplitude in mA. The default is 1.

phasestr, optional

The default is "0deg".

solidbool, optional

The default is True.

swap_directionbool, optional

The default is False.

namestr, optional

The default is None.

Returns
pyaedt.modules.Boundary.BoundaryObject

Boundary object.

References

>>> oModule.AssignCurrent