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 ansys.aedt.core.modeler.cad.object_3d.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:
ansys.aedt.core.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 'from ansys.aedt.core.modules.boundary.BoundaryObject'>