Author Topic: Easiest way to manage PCB versions/revisions in Altium?  (Read 12538 times)

0 Members and 1 Guest are viewing this topic.

Offline smoothVTerTopic starter

  • Regular Contributor
  • *
  • Posts: 151
  • Country: us
Easiest way to manage PCB versions/revisions in Altium?
« on: December 10, 2016, 11:40:27 pm »
( Apologies if this has been answered here elsewhere;  the words "version" and "revision" appear everywhere in search results on this forum )

What is the simplest way to create Altium project versions / PCB revisions?

For example, I created a project named myProject_V0.0.    I want to do a PCB update where I'll move components around, delete some components, add some other components, and generally improve upon my V0.0 PCB.        At first I tried to do what I do in Eagle:   copy the entire project folder over and rename it ( myProject_V0.0 --> myProject_V0.1 )  and rename all associated files within the folder structure, but Altium complains then it cannot find the libraries associated with the project ( which are attached to / part of my original project V0.0 ) 

I looked into Altium's built-in SVN system, version control & configurations;  my eyes glaze over and my brain becomes numb with excessive complications and dozens of details.   The documentation is mind-numbingly deep and seems like Altium's system for doing something like creating another PCB version is targeted for large companies where many engineers share documents, check-in and check-out files;   the setup for doing so seems like very, very much overhead. 

So:   Anyone out there care to share what's the quick-and-dirty method for creating V0.1, V0.2 etc of PCB's and schematic documents?   The goals are:

  • Start with some existing .PrjPcb    project and all associated schematics/PCB and attached libraries
  • Copy everything, but rename it under a different name, different folder name
  • Preserve all library links and project settings such as stack up, design rules, etc.
  • Be able to modify schematic/pcb, add/subtract from it, all without affecting the prior version
 

Offline DerekG

  • Frequent Contributor
  • **
  • Posts: 883
  • Country: nf
Re: Easiest way to manage PCB versions/revisions in Altium?
« Reply #1 on: December 10, 2016, 11:54:10 pm »
Anyone out there care to share what's the quick-and-dirty method for creating V0.1, V0.2 etc of PCB's and schematic documents?

Just open your existing schematic & rename it so you now have two schematics in your project. Then do the same with your pcb so you now have two pcbs in your project too.

The other way is to avoid projects altogether. Just start your schematic as a "free file" & use this to generate your pcb (also as a "free file").
I also sat between Elvis & Bigfoot on the UFO.
 

Offline carljrb

  • Contributor
  • Posts: 24
  • Country: ca
Re: Easiest way to manage PCB versions/revisions in Altium?
« Reply #2 on: December 11, 2016, 04:44:09 am »
I use SVN to version things, however I use TortoiseSVN for this instead of Altium's built-in tools.
 

Offline technotronix

  • Regular Contributor
  • *
  • Posts: 210
  • Country: us
    • PCB Assembly
 

Offline IanJ

  • Supporter
  • ****
  • Posts: 1722
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: Easiest way to manage PCB versions/revisions in Altium?
« Reply #4 on: January 09, 2017, 05:37:50 am »
I have the same issue with CircuitStudio......I wish there was a 'duplicate and rename' project folder function.

My own problem is that I sometimes use a particular project as a basis for a new project that isn't a 'version' necessarily of the one I am duplicating from.
Just copying the pcb and sch files is fine but problems with paths start to occur when copying pcblib etc.

Am previously a long term Eagle user.......so maybe that's the problem......😯

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline julianhigginson

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: au
Re: Easiest way to manage PCB versions/revisions in Altium?
« Reply #5 on: January 09, 2017, 10:34:55 am »
I don't understand why you would want libraries for each project... surely if you are building a "set" of projects as/for a single entity (your own company, an employer,  etc) you want to build up one single library that always is up to date and correct rather than have compoenent libs sitting around everywhere in folders? and since altium sch and pcb files have all the component data anyway, you can always generate libraries for a project if you ever need to...


anyway...

I keep all design files (sch, pcb, outjob, etc) for a project together, and have them in a git repo. Then as I edit things I can check them in with descriptions of what I did and when, and tag the repo state for releases using a standard format tag..

I can also zip up the folder as a "release snapshot" if I want, but git pretty much makes that unnecessary.

I don't tend to rename files with version numbers in the filename, as that's really fiddly and unnecessary - but will update revision numbers inside the files. (ie the PCB file has a revision in it, schematic sheets do too)

when I do a release, then all the output stuff (gerbers, BOM, schematic prints, pcb fab doc, assembly docs, 3d models, etc) goes into a standard directory structure in a suitably named/versioned folder inside my common "release packs" folder, and I use the outjob file for the project to make sure everything has the relevant version attached in its name.  Then I check it all, zip up the folder with the release version in the zipfile name, and send it off..


 

Offline IanJ

  • Supporter
  • ****
  • Posts: 1722
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: Easiest way to manage PCB versions/revisions in Altium?
« Reply #6 on: January 09, 2017, 08:50:02 pm »
I don't understand why you would want libraries for each project... surely if you are building a "set" of projects as/for a single entity (your own company, an employer,  etc) you want to build up one single library that always is up to date and correct rather than have compoenent libs sitting around everywhere in folders?

I think I started to realize that after my 1st or 2nd project.........as a new user I had initially thought the .pcblib's went with the project and integrated libs were central. Thanks to this thread I think I'll sort that out........

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8550
  • Country: us
    • SiliconValleyGarage
Re: Easiest way to manage PCB versions/revisions in Altium?
« Reply #7 on: January 12, 2017, 05:11:01 pm »
rule 1  : NEVER EVER edit filenames OUTSIDE of altium !

that being said

simply copy the entire folder.
rename the copy FOLDER
open the project in altium from the new folder.
Save project as  (note: save PROJECT as, not the normal 'save as') .
give baby new name.
done.


for exampe a folder name myproject v1.0 inside is myproject v1.0.prjpcb and all the other files related to it.

in windows :
- copy folder
- rename "copy of myproject v1.0" to "myproject v1.1'

launch altium.
open project : navigate to 'myproject v1.1 folder and open myproject v1.0.prjpcb
save project as myproject v1.1.prjpcb

done.

no need for muckery

NEVER EVER alter filenames (apart from the prjpcb file) outside of altium. altium doesn't care what is in the directories. the links are stored in the prjpcb file. alter filenames ouside of altium and you break the links. this is done on purpose so you can store other data in the project directories that altium has no business with.



There is no need to have libraries travel with a project. everything that is needed for a schematic or pcb is stored inside the schematic and pcb files.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf