Pads scripting is fine if you want to list names or count pins, but how can I add items using scripting? I stumbled upon the activedocument.addtext function but I want to do more.
Here are some things I want to do:
1- add small bgavias offset from bga pins and have them connected to the bga pin net.
2- convert a rats nest connection to a point to point route.
3- add bypass caps to a board based on board size.
4- add a connection to a component pad.
5- change a teardrop geometry.
I have created many VB programs that manipulate data in ascii files, but I am trying to do it now with scripts.
The only current way I found to do this is to write to an eco file and then import it. Sure it works, but there must be a more elegant way to do it within the script. Any ideas?
Just to clarify, I am not looking for anyone to supply me with an elaborate script to do what I want. All I need is the VB command that adds the item (addvia, addnet, addcomponent etc)