assign_febi#

Hfss.assign_febi(assignment, name=None)[source]#

Assign an FE-BI region to one or more objects.

Parameters:
assignmentstr or list or int or pyaedt.modeler.cad.object3d.Object3d

One or more object names or IDs.

namestr, optional

Name of the boundary. The default is None, in which case a name is automatically assigned.

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'>