Project Save As… . seems to only make a copy of the .PrPcb file and it still points back to the original schematic and layout files. I would like to make a full copy of all files in the project, change all of the file names with a suffix to match the new project’s name, and then treat that as a project not related to thing it was copied from.
I’ve tried a couple of variations, but so far this seems like the simplest way:
- copy the directory in windows
- from windows rename the .PrPcb , topmost schematic sheet, and layout files.
- open the project and do Add Existing to project… for the renamed files
- Use Rename Child Sheet on each sheet symbol for the remaining schematic files
- (Hit project compile each time a rename is done to get things in the hierarchy)
When you create a New Project there’s an option to select a Project Template but I didn’t find an explanation about how to create them and/or if the template can actually be a complete project vs. a collection of schematic and layout templates.
Is there a better way to do this?
Added after original post:
I do not copy the History, Previews, Logs, or Output directories.
I’m not sure about the .Harness files yet. It seems to automatically generate new ones but I have not experimented to see if it needs to have the old ones to do that. (In general the workings of Harnesses are still a mystery to me so don’t take anything I say about it as useful).
Despite the above seemingly working I now do have a case where it seems likePCB is confused about component classes. I will open a separate thread on that once I understand it.