create_sbr_linked_antenna#

Hfss.create_sbr_linked_antenna(assignment, target_cs='Global', setup=None, field_type='nearfield', use_composite_ports=False, use_global_current=True, current_conformance=False, thin_sources=True, power_fraction='0.95', visible=True, name=None)[source]#

Create a linked antennas.

Parameters:
assignmentpyaedt.Hfss

Source object.

target_csstr, optional

Target coordinate system. The default is "Global".

setupoptional

Name of the setup. The default is None, in which case a name is automatically assigned.

field_typestr, optional

Field type. The options are "nearfield" and "farfield". The default is "nearfield".

use_composite_portsbool, optional

Whether to use composite ports. The default is False.

use_global_currentbool, optional

Whether to use the global current. The default is True.

current_conformancebool, optional

Whether to enable current conformance. The default is False.

thin_sourcesbool, optional

Whether to enable thin sources. The default is True.

power_fractionstr, optional

The default is "0.95".

visiblebool, optional.

Whether to make source objects in the target design visible. The default is True.

namestr, optional

Name of the source. The default is None in which case a name is automatically assigned.

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",field_type="farfield")