create_sbr_file_based_antenna#
- Hfss.create_sbr_file_based_antenna(far_field_data, antenna_size='1mm', antenna_impedance='50ohm', representation_type='Far Field', target_cs=None, units=None, is_array=False, custom_array=None, name=None)[source]#
Create a linked antenna.
- Parameters:
- far_field_data
str
Full path to the FFD file.
- antenna_size
str
,optional
Antenna size with units. The default is
"1mm"
.- antenna_impedance
str
,optional
Antenna impedance with units. The default is
"50ohm"
.- representation_type
str
,optional
Type of the antennas. Options are
"Far Field"
and"Near Field"
. The default is"Far Field"
.- target_cs
str
,optional
Target coordinate system. The default is
None
, in which case the active coordinate 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.- is_arraybool,
optional
Whether to define a parametric array. The default is
False
.- custom_array
str
,optional
Custom array file. The extensions supported are
".sarr"
. The default isNone
, in which case parametric array is created.- 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.
- far_field_data
- Returns:
References
>>> oEditor.InsertNativeComponent
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss(solution_type="SBR+") >>> ffd_file = "full_path/to/ffdfile.ffd" >>> par_beam = hfss.create_sbr_file_based_antenna(ffd_file)