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, is_array=False, custom_array=None, name=None)#

Create a linked antennas.

Parameters:
assignmentansys.aedt.core.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.

is_arraybool, optional

Whether to define a parametric array. The default is False.

custom_arraystr, optional

Custom array file. The extensions supported are ".sarr". The default is None, in which case parametric array is created.

namestr, optional

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

References

>>> oEditor.InsertNativeComponent

Examples

>>> from ansys.aedt.core import Hfss
>>> target_project = "my/path/to/targetProject.aedt"
>>> source_project = "my/path/to/sourceProject.aedt"
>>> target = Hfss(project=target_project, solution_type="SBR+",
...               version="2024.2", new_desktop=False)
>>> source = Hfss(project=source_project, design="feeder",
...               version="2024.2", new_desktop=False)
>>> target.create_sbr_linked_antenna(source,target_cs="feederPosition",field_type="farfield")