create_boundary#
- Hfss.create_boundary(boundary_type=0, assignment=None, name=None, is_inifinite_ground=False)#
Assign a boundary condition to a sheet or surface.
This method is generally used by other methods in the
Hfssclass such as the :meth:Hfss.assign_febior :meth:Hfss.assign_radiation_boundary_to_facesmethod.- Parameters:
- boundary_type
int,optional Type of boundary condition to assign to a sheet or surface. The default is
Hfss.BoundaryType.PerfectE. Options are the properties of the :class:Hfss.BoundaryTypeclass. For example:Hfss.BoundaryType.PerfectEHfss.BoundaryType.PerfectHHfss.BoundaryType.RadiationHfss.BoundaryType.ImpedanceHfss.BoundaryType.LumpedRLCHfss.BoundaryType.FEBI
- assignment
int,str,orlist,optional Name of the sheet or face to assign the boundary condition to. The default is
None. You can provide an integer (face ID), a string (sheet), or a list of integers and strings.- name
str,optional Name of the boundary. The default is
None.- is_inifinite_groundbool,
optional Whether the boundary is an infinite ground. The default is
False.
- boundary_type
- Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObjectBoundary object.