Index: action_details.html =================================================================== --- action_details.html (revision 32805) +++ action_details.html (revision 32806) @@ -3206,7 +3206,8 @@

Syntax summary: -RouteStyle(style_id|style_name|@current, [set|get, trace-thickness|trace-clearance|text-thickness|text-scale|name, [value]]) +RouteStyle(style_id|style_name|@current, [set|get|del], [trace-thickness|trace-clearance|text-thickness|text-scale|name], [value]]) +RouteStyle(new, [name])
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 @@ -3214,6 +3215,12 @@

Reads or writes route style properties.

+ If the first argument is + +new + +, a new style is created, optionally using the name provided as the second argument; else the following happens. +

The first argument addresses the style and is one of:

    @@ -3226,19 +3233,35 @@

- The second argument is + The second argument is one of: +

    + +
  • + set - which will modify the addressed style using the 4th argment +, 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. +, where the 4th argument is omitted and the return value of the action holds the resulting value of the query +
  • + + +del + +, which will remove the style addressed. +
+

The 3rd argument addresses the property of the style. +

+ Note: all operations by this action are undoable.

s

Index: action_reference.html =================================================================== --- action_reference.html (revision 32805) +++ action_reference.html (revision 32806) @@ -13,7 +13,7 @@ @@ -343,7 +343,7 @@ - + Index: action_src/routestyle.html =================================================================== --- action_src/routestyle.html (revision 32805) +++ action_src/routestyle.html (revision 32806) @@ -1,5 +1,8 @@ Reads or writes route style properties.

+If the first argument is new, a new style is created, optionally using +the name provided as the second argument; else the following happens. +

The first argument addresses the style and is one of:

  • an integer greater than zero: style ID (styles are counted from 1) @@ -7,9 +10,13 @@
  • an arbitrary style name, which will pick the first style with matching name

-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 second argument is one of: +

    +
  • set, which will modify the addressed style using the 4th argment value +
  • get, where the 4th argument is omitted and the return value of the action holds the resulting value of the query +
  • del, which will remove the style addressed. +

The 3rd argument addresses the property of the style. +

+Note: all operations by this action are undoable.

-This is pcb-rnd 2.2.4 (svn r32730) an interactive printed circuit board editor , Revision: 32792 +This is pcb-rnd 2.2.4 (svn r32730) an interactive printed circuit board editor , Revision: 32805
Action Description Syntax Plugin
AboutPresent the about boxAbout()dialogs plugin
rnReads netlist.rn [name]shand_cmd plugin
Rotate90Rotates the object under the crosshair by 90 degree steps.pcb_move_obj(steps)
roundrectGenerate a rectangle with round cornersroundrect([where,] width[;height] [,rx[;ry] [,rotation [,cornstyle [,roundness]]]])shape plugin
RouteStyleWithout 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]])
RouteStyleWithout 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|del], [trace-thickness|trace-clearance|text-thickness|text-scale|name], [value]])
RouteStyle(new, [name])
RouteStylesChangedTells the GUI that the routing styles have changed.RouteStylesChanged()oldactions plugin
sSaves layout data.s [name]
w [name]
shand_cmd plugin
SaveSave 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