create_sbr_antenna#
- Hfss.create_sbr_antenna(antenna_type='Conical Horn', target_cs=None, units=None, parameters=None, use_current_source_representation=False, is_array=False, name=None)[source]#
Create a parametric beam antennas in SBR+.
- Parameters:
- antenna_type
str
, SbrAntennas.ConicalHorn Name of the antennas type. The enumerator
SbrAntennas
can also be used. The default is"SbrAntennas.Conical Horn"
.- target_cs
str
,optional
Target coordinate system. The default is
None
, in which case the active coodiante system is used.- units
str
,optional
Model units to apply to the object. The default is
None
, in which case the active modeler units are applied.- parameters
dict
,optional
Dictionary of parameters. The default is
None
.- use_current_source_representationbool,
optional
Whether to use the current source representation. The default is
False
.- is_arraybool,
optional
Whether to define an array. The default is
False
.- name
str
,optional
Name of the 3D component. The default is
None
, in which case the name is auto-generated based on the antenna type.
- antenna_type
- Returns:
ansys.aedt.core.modules.boundary.NativeComponentObject
NativeComponentObject object.
References
>>> oEditor.InsertNativeComponent
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss(solution_type="SBR+") PyAEDT INFO: Added design 'HFSS_IPO' of type HFSS. >>> parm = {"polarization": "Vertical"} >>> par_beam = hfss.create_sbr_antenna(hfss.SbrAntennas.ShortDipole,parameters=parm,name="TX1")