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:
- assignment
list
of
int
orstr
oransys.aedt.core.modeler.cad.object_3d.Object3d
List of objects to assign an end connection to.
- resistance
float
orstr
,optional
Resistance value. If float is provided, the units are assumed to be ohms. The default value is
0
,- inductance
float
orstr
,optional
Inductance value. If a float is provided, the units are assumed to Henry (H). The default value is
0
.- boundary
str
,optional
Name of the end connection boundary. The default is
None
, in which case the default name is used.
- assignment
- Returns:
ansys.aedt.core.modules.boundary.BoundaryObject
Newly created object.
False
if it fails.
References
>>> oModule.AssignEndConnection