sch_place_power_port
Places a power port symbol (VCC, GND, etc.) on the active schematic at specified coordinates, with selectable symbol style and orientation for accurate net labeling.
Instructions
Place a power port symbol (VCC, GND, etc.) on the active schematic.
Args: text: Net name for the power port (e.g., "VCC", "GND", "+3V3") x: X coordinate in mils y: Y coordinate in mils style: Symbol style: "circle", circle symbol (default, typical for VCC) "arrow", arrow symbol "bar", bar/line symbol "wave", wave symbol "gnd_power", power ground symbol "gnd_signal", signal ground symbol "gnd_earth", earth ground symbol orientation: which way the glyph points from the connection point: 0=right, 1=up, 2=left, 3=down. Leave at -1 to let the bridge decide by style, which sends the ground glyphs down and everything else up.
PASS IT EXPLICITLY FOR A RAIL DRAWN WITH style="bar".
The style-based default groups "bar" and "wave" with the
grounds, so a VCC bar comes out pointing DOWN and reads
as a ground symbol. orientation=1 is what you want there.Returns: Dictionary confirming placement
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| text | Yes | ||
| style | No | circle | |
| orientation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||