lib_create_ic_symbol
Creates a complete IC symbol in one call by grouping left and right pins, generating the body rectangle, and placing grid-aligned pins for schematic use.
Instructions
Create a COMPLETE, discipline-compliant IC symbol in ONE call.
You decide the functional grouping (inputs/power/control on the LEFT, outputs/status on the RIGHT -- discipline rule 18); this lays them out cleanly and emits the whole symbol: the body rectangle (Altium-yellow fill) plus every pin, grid-aligned with the top-left pin's wire-end at the origin (rule 14), in one create + one bulk add_pins + one rectangle.
Args:
name: Component name.
left_pins: Pins on the LEFT side, top-to-bottom. Each a dict
with designator, name, and optional electrical_type
(input/output/power/passive/...).
right_pins: Pins on the RIGHT side, top-to-bottom, same shape.
designator_prefix: e.g. "U".
description: Component description.
Returns: Dict with the symbol name, pin count, body extent, and the per-step bridge results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| left_pins | Yes | ||
| right_pins | Yes | ||
| description | No | ||
| designator_prefix | No | U |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||