place_3d_component#
- Modeler3DLayout.place_3d_component(component_path: str | Path, number_of_terminals: int = 1, placement_layer: str = None, component_name: str = None, pos_x: float = 0.0, pos_y: float = 0.0, create_ports: bool = True, is_3d_placement: bool = False, pos_z: float = 0.0)#
Place an HFSS 3D component in HFSS 3D Layout.
- Parameters:
- component_path
strorpathlib.Path 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