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_path
str Full path to the A3DCOMP file.
- number_of_terminals
int,optional Number of ports in the 3D component. The default is
1.- placement_layer
str,optional Layer to place the component on. The default is
None, in which case it is placed on top.- component_name
str,optional Name of the component. The default is
None, in which case a default name is assigned.- pos_x
float,optional X placement. The default is
0.- pos_y
float,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_z
float,optional - Z placement. When enabled, 3d placement will be automatically enabled too.
The default is
False.
- component_path
- Returns:
ansys.aedt.core.modeler.pcb.object_3d_layout.ComponentsSubCircuit3DLayout