place_3d_component#

Modeler3DLayout.place_3d_component(component_path, number_of_terminals=1, placement_layer=None, component_name=None, pos_x=0, pos_y=0, create_ports=True, is_3d_placement=False, pos_z=0)#

Place an HFSS 3D component in HFSS 3D Layout.

Parameters:
component_pathstr

Full path to the A3DCOMP file.

number_of_terminalsint, optional

Number of ports in the 3D component. The default is 1.

placement_layerstr, optional

Layer to place the component on. The default is None, in which case it is placed on top.

component_namestr, optional

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

pos_xfloat, optional

X placement. The default is 0.

pos_yfloat, optional

Y placement. The default is 0.

create_portsbool, optional

Whether to expose 3D component ports. The default is True.

is_3d_placementbool, optional

Whether if the component is placed on a layer or arbitrary.

pos_zfloat, optional
Z placement. When enabled, 3d placement will be automatically enabled too.

The default is False.

Returns:
ansys.aedt.core.modeler.pcb.object_3d_layout.ComponentsSubCircuit3DLayout