create_spiral_lumped_port#
- Hfss.create_spiral_lumped_port(assignment, reference, width=None, name=None)#
Create a spiral lumped port between two adjacent objects.
The two objects must have two adjacent, parallel, and identical faces. The faces must be a polygon (not a circle). The closest faces must be aligned with the main planes of the reference system.
- Parameters:
- assignment
str
orint
oransys.aedt.core.modeler.cad.object_3d.Object3d
First solid connected to the spiral port.
- reference
str
orint
oransys.aedt.core.modeler.cad.object_3d.Object3d
Second object connected to the spiral port.
- width
float
,optional
Width of the spiral port. If a width is not specified, it is calculated based on the object dimensions. The default is
None
.- name
str
,optional
Port name. The default is
None
.
- assignment
- Returns:
ansys.aedt.core.modules.boundary.BoundaryObject
Boundary object.
Examples
>>> aedtapp = Hfss() >>> aedtapp.insert_design("Design_Terminal_2") >>> aedtapp.solution_type = "Terminal" >>> box1 = aedtapp.modeler.create_box([-100, -100, 0],[200, 200, 5],name="gnd2z",material="copper") >>> box2 = aedtapp.modeler.create_box([-100, -100, 20],[200, 200, 25],name="sig2z",material="copper") >>> aedtapp.modeler.fit_all() >>> portz = aedtapp.create_spiral_lumped_port(box1,box2)