Preview a symbol
render_symbolVisualize a schematic symbol from an Altium SchLib file as ASCII art, showing pins, shapes, and labels with markers, counts, and a legend.
Instructions
Render an ASCII art visualisation of a schematic symbol from a SchLib file: every record kind of the requested part — pins (with designators), rectangles, rounded rectangles, lines, polylines, polygons, arcs, pies, ellipses, elliptical arcs, beziers, images, text frames, labels and IEEE symbols — each with its own marker, plus a per-kind count line and a legend. Coordinates are in schematic units (10 units = 1 grid).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Characters per 10 schematic units (default: 1.0). Higher = more detail | |
| part_id | No | Part ID for multi-part symbols (default: 1, shows all parts if 0) | |
| filepath | Yes | Path to the Altium SchLib file | |
| max_width | No | Maximum width in characters (default: 80) | |
| max_height | No | Maximum height in characters (default: 40) | |
| component_name | Yes | Name of the symbol to render |