I'm starting to use ULP scripting, but I'm lacking some important functions.
1. Some actions on the sch/brd seems to be only possible through script/exit(), not through ULP
for example I want to delete a part.
The only way I had found is adding "detele partName" to the (possibly very long) string that will be executed after the ULP finishes
or a Copy part, is possible at the end of the ULP, but in this way I cannot make any changes on it.
Is there a better/instantaneous way to make serious changes (like delete or duplicate parts)?
2. Some actions that are possible by clicking command buttons are not possible in scripting. I'm not able to make a copy of a part in schematic by script.
Having part U1, "copy U1 U2" generates an error message (The copy command with a name can only be used in a library!)
Setting group and executing "Cut; Paste" requires action of a mouse.
Pavel