Add PCB arc primitives to an existing PcbDoc.
The sample creates a rectangular board outline, sets the origin to the lower-left outline corner, and places full circles and partial arcs in uniform rows with different radii, angles, widths, layers, and net assignments.
AltiumPcbDoc.from_file(...)AltiumPcbDoc.set_outline_rectangle_mils(...)AltiumPcbDoc.add_arc(...)AltiumPcbDoc.save(...)
From the repository root:
uv run python examples\pcbdoc_add_arc\pcbdoc_add_arc.pyexamples/pcbdoc_add_arc/output/pcbdoc_add_arc.PcbDoc