sink#
- Q3d.sink(assignment=None, direction=0, name=None, net_name=None, terminal_type='voltage')#
Generate a sink on a face of an object or a group of faces or face ids.
The face ID is selected based on the axis direction. It is the face that has the maximum/minimum in this axis direction.
- Parameters:
- assignment
str,intorlistoransys.aedt.core.modeler.cad.object_3d.Object3d Name of the object or face ID or face ID list.
- direction
int,optional Initial axis direction. Options are
0to5. The default is0.- name
str,optional Name of the source. The default is
None.- net_name
str,optional Name of the net. The default is
None, in which case theobject_nameis considered.- terminal_type
str Type of the terminal. Options are
voltageandcurrent. The default isvoltage.
- assignment
- Returns:
References
>>> oModule.AssignSource