assign_end_connection#
- Maxwell2d.assign_end_connection(objects, resistance=0, inductance=0, bound_name=None)[source]#
Assign an end connection to a list of objects.
- Parameters:
- objects
list
of
int
orstr
orpyaedt.modeler.cad.object3d.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
.- bound_name
str
,optional
Name of the end connection boundary. The default is
None
, in which case the default name is used.
- objects
- Returns:
pyaedt.modules.Boundary.BoundaryObject
Newly created object.
False
if it fails.
References
>>> oModule.AssignEndConnection