Improved in Version 2022.0: Scripting

The following new functions are supported in the scripting interface.

PCB

  • Reload of parts and footprints.
  • Open and close of a modal dialog during script execution.
  • Open a design in read-only mode.
  • Read and write of the board outline shape.

Library

  • Opening and closing of a modal dialog during script execution.
  • Locking of a part, footprint and symbol.
  • Get footprint or symbol interface related to a part.
  • Setting the 3D model property for a footprint.
  • Query and update of created by and modified by properties.
  • Addition of new part, footprint and symbols to a library.
  • Deletion of part, footprint and symbol from a library.
  • Import and export of symbols (binary only).

Schematic

  • Opening and closing of a modal dialog during script execution.
  • Reload of symbols.
  • Change part and symbol.
  • Delete component.
  • Change component position, rotation, scale and color.
  • Addition of part or symbol.
  • Variant support.