File: replacefootprint.html

package info (click to toggle)
pcb-rnd 3.1.7b-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,108 kB
  • sloc: ansic: 213,400; yacc: 6,241; sh: 4,698; awk: 3,016; makefile: 2,254; lex: 1,166; python: 519; xml: 261; lisp: 154; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (16 lines) | stat: -rw-r--r-- 836 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Replace footprint(s) from the library or buffer, in-place (preserving
the original subcircuit's location, rotation and metadata) and append
the replacement to the back annotation changeset.
<p>
If first argument is <i>selected</i>, replace all selected subcircuits
with the new footprint; if it is <i>object</i>, replace only one
subcircuit, under the cursor.
<p>
If the second argument is a footprint name, load it from the library.
If it is <i>@buffer</i>, use the subcircuit in the current buffer (there
must be exactly 1 subcircuit in the buffer). If it is empty or not specified,
the user is asked for a footprint.
<p>
If the third argument is <i>dumb</i> the location and rotation of the
original subcircuit is not preserved (but all metadata and board side are
preserved). A dumb replacement also omits creating back annotation.