Index: 09_appendix/action_details.html =================================================================== --- 09_appendix/action_details.html (revision 32792) +++ 09_appendix/action_details.html (revision 32793) @@ -3201,6 +3201,46 @@ must be an integer between -3 and +3. +
+
Syntax summary: | +RouteStyle(style_id|style_name|@current, [set|get, trace-thickness|trace-clearance|text-thickness|text-scale|name, [value]]) + |
---|---|
Help text: | +Without second argument: copies the indicated routing style into the current pen; with second argument sets or gets a field of the routing style. + |
Registered by: | n/a + |
+Reads or writes route style properties. +
+ The first argument addresses the style and is one of: +
+ The second argument is + +set + + which will modify the addressed style using the 4th argment +value + or + +get + +, where the 4th argument is omitted and the return value of the action holds the resulting value of the query. All sets are undoable. +
+ The 3rd argument addresses the property of the style. +
Index: 09_appendix/action_reference.html =================================================================== --- 09_appendix/action_reference.html (revision 32792) +++ 09_appendix/action_reference.html (revision 32793) @@ -13,7 +13,7 @@
Action | Description | Syntax | Plugin |
---|---|---|---|
About | Present the about box | About() | dialogs plugin | @@ -343,7 +343,7 @@
rn | Reads netlist. | rn [name] | shand_cmd plugin |
Rotate90 | Rotates the object under the crosshair by 90 degree steps. | pcb_move_obj(steps) | |
roundrect | Generate a rectangle with round corners | roundrect([where,] width[;height] [,rx[;ry] [,rotation [,cornstyle [,roundness]]]]) | shape plugin | -
RouteStyle | Without second argument: copies the indicated routing style into the current pen; with second argument sets or gets a field of the routing style. | RouteStyle(style_id|style_name|current, [set|get, width|clearance, [value]]) | + |
RouteStyle | Without second argument: copies the indicated routing style into the current pen; with second argument sets or gets a field of the routing style. | RouteStyle(style_id|style_name|@current, [set|get, trace-thickness|trace-clearance|text-thickness|text-scale|name, [value]]) | |
RouteStylesChanged | Tells the GUI that the routing styles have changed. | RouteStylesChanged() | oldactions plugin |
s | Saves layout data. | s [name] w [name] | shand_cmd plugin |
Save | Save layout data to a user-selected file. | Save() Save(Layout|LayoutAs) Save(AllConnections|AllUnusedPins|ElementConnections) Save(PasteBuffer) Save(DialogByPattern, pcb|footprint|font|buffer, none|board|fp, prompt, [default_pattern]) | dialogs plugin | @@ -368,9 +368,6 @@
SetUnits | Set the default measurement units. | SetUnits(mm|mil) | |
SetValue | Change various board-wide values and sizes. | SetValue(Grid|Line|LineSize|Text|TextScale, delta) | |
shape | Interactive shape generator. | shape() | shape plugin | -
skline | Tool for drawing sketch lines | skline() | sketch_route plugin | -
skretriangulate | Reconstruct CDT on all layer groups | skretriangulate() | sketch_route plugin | -
sktransform | Transform sketch to geometrical wiring | sktransform(rect|oct|alldir) | sketch_route plugin |
smartdisperse | Disperse subcircuits into clusters, by netlist connections | SmartDisperse([All|Selected]) | smartdisperse plugin |
split | Use one or more objects as cutting edge and trim or split other objects. First argument is the cutting edge | trim([selected|found|object], [selected|found|object]) split([selected|found|object], [selected|found|object]) | ddraft plugin |
StatusSetText | Replace status printout with text temporarily; turn status printout back on if text is not provided. | StatusSetText([text]) | lib_hid_pcbui/status | Index: 09_appendix/action_src/routestyle.html =================================================================== --- 09_appendix/action_src/routestyle.html (nonexistent) +++ 09_appendix/action_src/routestyle.html (revision 32793) @@ -0,0 +1,15 @@ +Reads or writes route style properties. +