assign_febi#
- Hfss.assign_febi(obj_names, boundary_name='')[source]#
Assign an FE-BI region to one or more objects.
- Parameters:
- obj_names
str
orlist
orint
orpyaedt.modeler.cad.object3d.Object3d
One or more object names or IDs.
- boundary_name
str
,optional
Name of the boundary. The default is
""
, in which case a name is automatically assigned.
- obj_names
- Returns:
pyaedt.modules.Boundary.BoundaryObject
Boundary object.
References
>>> oModule.AssignFEBI
Examples
Create a box and assign an FE-BI boundary to it.
>>> box = hfss.modeler.create_box([0, -200, -200], [200, 200, 200], ... name="Radiation_box") >>> febi_box = hfss.assign_febi("Radiation_box") >>> type(febi_box) <class 'pyaedt.modules.Boundary.BoundaryObject'>