Author Topic: Need to copy and paste a sub-circuit 114 times.  (Read 1955 times)

0 Members and 1 Guest are viewing this topic.

Offline opampsmokerTopic starter

  • Regular Contributor
  • *
  • !
  • Posts: 154
  • Country: gb
Need to copy and paste a sub-circuit 114 times.
« on: October 26, 2020, 10:18:52 am »
Hi,
I have to do a schem with 114 small subcircuits. (each subcircuit is the same as the others) . I wish to draw the sub-circuit once, then have it in a “box”, then just paste that box 114 times. The only way I can see to do this is with  hierarchical sheets, as that gives me the “subcircuit in a box”…however, that also produces a separate schem sheet for each box (so that’s 114 schem sheets) and I don’t want that, so please advise on how to do this?
 

Offline tox3

  • Contributor
  • Posts: 24
  • Country: lv
Re: Need to copy and paste a sub-circuit 114 times.
« Reply #1 on: October 26, 2020, 12:20:15 pm »
Hierarchial sheets is the best solution for this.
But you can also select all components and copy paste them multiple times. But if you need to fix something after copy paste, then you would have to redo it all
 
The following users thanked this post: opampsmoker

Online langwadt

  • Super Contributor
  • ***
  • Posts: 4413
  • Country: dk
Re: Need to copy and paste a sub-circuit 114 times.
« Reply #2 on: October 26, 2020, 12:30:57 pm »
Hierarchial sheets is the best solution for this.
But you can also select all components and copy paste them multiple times. But if you need to fix something after copy paste, then you would have to redo it all

and with hierarchical sheets there are script to replicate layout
 
The following users thanked this post: opampsmoker

Online Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3340
  • Country: nl
Re: Need to copy and paste a sub-circuit 114 times.
« Reply #3 on: October 26, 2020, 12:43:32 pm »
Maybe you can get some usefull hints when you read this:
https://forum.kicad.info/t/copy-and-paste-sub-circuit-114-times/25573/3
 
The following users thanked this post: Alti, opampsmoker

Offline John B

  • Frequent Contributor
  • **
  • Posts: 799
  • Country: au
Re: Need to copy and paste a sub-circuit 114 times.
« Reply #4 on: December 16, 2020, 02:37:17 am »
I actually have almost the same problem. I did get this script working on 5.1.8

https://github.com/MitjaNemec/Kicad_action_plugins

Is it possible to group footprints in pcbnew such that when you click on one item in the group it will move them all as one block? Ie, keeping all the relative positions of footprint in each sub-circuit the same, and not allowing you to move the associated footprints and tracks out of position relative to one another?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf