assign_hybrid_region#
- Hfss.assign_hybrid_region(assignment, name=None, hybrid_region='SBR+')#
Assign a hybrid region to one or more objects.
- Parameters:
- assignment
str
orlist
orint
oransys.aedt.core.modeler.cad.object_3d.Object3d
One or more object names or IDs.
- name
str
,optional
Name of the boundary. The default is
None
, in which case a name is automatically assigned.- hybrid_region
str
,optional
Hybrid region to assign. The default is “SBR+”`. Options are
"IE"
,"PO"
and"SBR+"
.
- assignment
- Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObject
Boundary object.
References
>>> oModule.AssignHybridRegion
Examples
Create a box and assign a hybrid boundary to it.
>>> box = hfss.modeler.create_box([0, -200, -200],[200, 200, 200],name="Radiation_box") >>> sbr_box = hfss.assign_hybrid_region("Radiation_box") >>> type(sbr_box) <class 'from ansys.aedt.core.modules.boundary.common.BoundaryObject'>