create_sbr_linked_antenna

Hfss.create_sbr_linked_antenna(source_object, target_cs='Global', solution=None, fieldtype='nearfield', use_composite_ports=False, use_global_current=True, current_conformance='Disable', thin_sources=True, power_fraction='0.95')[source]

Create a linked antenna.

Parameters
source_objectpyaedt.Hfss

Source object.

target_csstr, optional

Target coordinate system. The default is "Global".

solutionoptional

The default is None.

fieldtypestr, optional

The default is "nearfield".

use_composite_portsbool, optional

Whether to use composite ports. The default is True.

use_global_currentbool, optional

Whether to use global current. The default is True.

current_conformance, str optional

The default is "Disable'.

thin_sourcesbool, optional

The default is True.

power_fractionstr, optional

The default is "0.95".

References

>>> oEditor.InsertNativeComponent

Examples

>>> from pyaedt import Hfss
>>> target_project = "my/path/to/targetProject.aedt"
>>> source_project = "my/path/to/sourceProject.aedt"
>>> target = Hfss(projectname=target_project, solution_type="SBR+",
...               specified_version="2021.2", new_desktop_session=False)  
>>> source = Hfss(projectname=source_project, designname="feeder",
...               specified_version="2021.2", new_desktop_session=False)  
>>> target.create_sbr_linked_antenna(source, target_cs="feederPosition",
...                                  fieldtype="farfield")