Index: doc/user/09_appendix/action_details.html =================================================================== --- doc/user/09_appendix/action_details.html (revision 36845) +++ doc/user/09_appendix/action_details.html (revision 36846) @@ -2168,6 +2168,40 @@ Note: the code remembers all settings for all excitements, not only the excitement that is currently selected. The selection and all parameters are saved as board attributes. +
+
Syntax summary: | +PadstackReplace(object|selected, buffer|tool) + |
---|---|
Help text: | +Replace padstack prototypes from buffer's first padstack or from the via tool + |
Registered by: | n/a + |
+Replacing padstacks, especially within multiple subcircuits, is a tedious task because the prototype of the new padstack needs to be added in each local padstack prototype library (e.g. one per subcircuit). The PadstackReplace() action can automate this. +
+ First argument is destination padstack, the object that is going to be changed. It is either + +object + + for a single padstack under the cursor, or + +selected + + for all selected padstacks. Both work on padstacks within subcircuits. +
+ The second argument is source padstack, from which the prototype (geometry) is copied. It can be + +tool + + for using the via tool's padstac prototype (which is usually from the current style) or + +buffer + + which uses the first padstack found in the current buffer. +
Index: doc/user/09_appendix/action_reference.html =================================================================== --- doc/user/09_appendix/action_reference.html (revision 36845) +++ doc/user/09_appendix/action_reference.html (revision 36846) @@ -13,7 +13,7 @@
Action | Description | Syntax | Plugin |
---|---|---|---|
About | Present the about box | About() | dialogs plugin | @@ -290,6 +290,8 @@
PadstackConvert | Convert selection or current buffer to padstack | PadstackConvert(buffer|selected, [originx, originy]) | |
PadstackEdit | interactive pad stack editor | PadstackEdit(object, [tab]) | dialogs plugin |
PadstackPlace | Place a pad stack (either proto_id, or if not specified, the default for style) | PadstackPlace([proto_id|default], [x, y]) | + |
PadstackReplace | Replace padstack prototypes from buffer's first padstack or from the via tool | PadstackReplace(object|selected, buffer|tool) | + |
PadstackSave | Save padstack to file. | PadstackSave(buffer, [filename], [fmt]) | |
Pan (RND) | Start or stop panning (Mode = 1 to start, 0 to stop) | Pan(Mode) | lib_hid_common plugin |
paral | Draw a line perpendicular to another line | perp() | ddraft plugin |
pas | Execute a script one-liner using a specific language | Oneliner(lang, script) | script plugin | @@ -353,7 +355,7 @@
QueryCompileField | With "compile": precompiles textual field name to field ID; with "free": frees the memory allocated for a previously precompiled fieldID. | QueryCompileField(compile, fieldname) QueryCompileField(free, fieldID) | query plugin |
QueryObj | Return the value of a field of an object, addressed by the object's idpath and the field's name or precompiled ID. Returns NIL on error. | QueryObj(idpath, [.fieldname|fieldID]) | query plugin |
Quit | Quits the application after confirming. | Quit() | - |
ReadBoard | Length returns the number of groups on the current PCB. Field returns one of the fields of the group named in groupid. Layerid returns the integer layer ID (as interpreted within data) for the idxth layer of the group. | ReadBoard(width|size_x|height|size_y) | act_read | +
ReadBoard | Return board dimensions | ReadBoard(width|size_x|height|size_y) | act_read |
ReadGroup | Length returns the number of groups on the current PCB. Field returns one of the fields of the group named in groupid. Layerid returns the integer layer ID (as interpreted within data) for the idxth layer of the group. | ReadGroup(length) ReadGroup(field, group, [init_invis|ltype|ltypestr|ltypehas|name|open|purpose|vis|length]) ReadGroup(layerid, group, idx) | act_read |
Redo | Redo recent "undo" operations. | redo() | |
Redraw | Redraw the entire screen | Redraw() |