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, name=None)[source]#

Create a linked antenna.

Parameters:
far_field_datastr

Full path to the FFD file.

antenna_sizestr, optional

Antenna size with units. The default is "1mm".

antenna_impedancestr, optional

Antenna impedance with units. The default is "50ohm".

representation_typestr, optional

Type of the antennas. Options are "Far Field" and "Near Field". The default is "Far Field".

target_csstr, optional

Target coordinate system. The default is None, in which case the active coordinate system is used.

unitsstr, optional

Model units to apply to the object. The default is None, in which case the active modeler units are applied.

namestr, optional

Name of the 3D component. The default is None, in which case the name is auto-generated based on the antenna type.

Returns:
pyaedt.modules.Boundary.NativeComponentObject

References

>>> oEditor.InsertNativeComponent

Examples

>>> from pyaedt import Hfss
>>> hfss = Hfss(solution_type="SBR+")  
>>> ffd_file = "full_path/to/ffdfile.ffd"
>>> par_beam = hfss.create_sbr_file_based_antenna(ffd_file)