Electronic – Scripting via in Eagle library

eagle

I am trying to create a custom library part in Eagle and I am having trouble scripting vias. I get an error saying that vias can only be created for boards. However I can manually place them with my mouse.

Best Answer

Yes you cannot place vias in a package design.

Instead of it you can use pads with different shapes.

You can use the tool on the left or you can use the command like this:

PAD [diameter] [shape]

For a round pad (like a via) you can type:

pad 1.2mm round