assign_end_connection#

Maxwell2d.assign_end_connection(assignment, resistance=0, inductance=0, boundary=None)[source]#

Assign an end connection to a list of objects.

Parameters:
assignmentlist of int or str or ansys.aedt.core.modeler.cad.object_3d.Object3d

List of objects to assign an end connection to.

resistancefloat or str, optional

Resistance value. If float is provided, the units are assumed to be ohms. The default value is 0,

inductancefloat or str, optional

Inductance value. If a float is provided, the units are assumed to Henry (H). The default value is 0.

boundarystr, optional

Name of the end connection boundary. The default is None, in which case the default name is used.

Returns:
ansys.aedt.core.modules.boundary.BoundaryObject

Newly created object. False if it fails.

References

>>> oModule.AssignEndConnection