Default project parameters - Page 1
Forum section: electronics / general

author: electricar
author_rank: Regular Contributor
timestamp: November 09, 2017, 07:49:35 am
content: Hey folks,is there a way to make a project template in AD with predefined project parameters (defined "names" but empty "values")?Perhaps it is also possible to set them as default in a setting I couldn't find?Thank you in advanceKind regardselectricar

author: Fire Doger
author_rank: Regular Contributor
timestamp: November 10, 2017, 03:08:53 am
content: Hello,Yes it is possible to create a template will all these values. Not sure if you can use empty but it can be something like "NaN".To set them as default you have to set a default empty "PCB Project" with all your project options. It will load automatically the values from template on any "new PCB Project".

author: electricar
author_rank: Regular Contributor
timestamp: November 20, 2017, 09:52:38 am
content: Hi Fire Doger,thank you for your answer. When I enter my templates in the New Document Defaults, how do I create a new project with the new templates?If I choose "File - New - Project", I get the following, but without my new project template.

author: twistedresistor
author_rank: Contributor
timestamp: November 21, 2017, 10:57:30 am
content: You have create a project and add the your files (e.g. Schematic, Pcb...) to that project as you would normally.Then you put the project (including the files) in the template folder, where your Altium looks for it as stated in "Location" in the dialog you showed.

author: electricar
author_rank: Regular Contributor
timestamp: November 21, 2017, 12:55:36 pm
content: Ok got that, thank you.Our team has a network folder with the schematic and output job templates.Now I want to create a project template, which automatically adds the schematic and output job templates from this network folder.The solution you proposed only refers to the templates copied to the local Altium template folder, right?Is it possible to create a project template which is using the templates on the network folder?This would be nice, because the changes in the templates would be synchronized across all team members.

author: twistedresistor
author_rank: Contributor
timestamp: November 21, 2017, 02:16:43 pm
content: Quote from: electricar on November 21, 2017, 12:55:36 pmYes.To get the template from a network share you can set the default location of the template folder in yourDXP Preferences -> Data Management -> Templates.For the schematic templates you can set the template folder in the project options:Project Options -> Tab "Options" -> Schematic Template Location.You can now apply your template via Design -> Templates -> Project Templates.Only downside of this method is if you add a new Schematic Sheet to your project it still uses the one set underDXP Preferences -> System -> New Document DefaultsThis option is global (i. e. not tied to the Project Template).I think the best option for you is to set your templates as "New Document Defaults" and create a project template with a Schematic Sheet and PCB already added on your Network share.Also be aware if you try to add the schematic template to your project via "add existing to project" it will link the actual file (showing the little arrow in the project tree) and if you edit it you will edit (and mess up) your template. You have to copy the schematic into your project folder.

author: Fire Doger
author_rank: Regular Contributor
timestamp: November 28, 2017, 02:28:39 am
content: Quote from: electricar on November 21, 2017, 12:55:36 pmIf you mean "add new file" will use a dedicated file which will be different for every template no.Although you can struct your templates to have that feature a bit manually."Template" in altium is pure copying of a file or a project. Any settings must be included in this file-project.By adding a file (lets say a .sch) in a project template named "Template.sch" designer can change AD default preferences to link on that file which will be unmodified during design and every time he adds a new .sch he will make a copy of the template which will be located on the same project folder.He (designer) must change his preferences each time he works on a different project but it will be much easier to locate correct file template (because it will be inside the project he works on) for each project template and will be a simple point in TODO list before creating a new project or modifying an old one.Also in this way you will have "Template.sch" on old projects for reference or mods.In a same way you can include .preferences files which are the global AD settings.------If you want to have 10 .sch in a project which will be based on a template, just add a 10 .sch in the project template and use a .sch template while you creating the project template.There are no links or live update, just pure copy and paste.If any part sounds weird tell to use examples.

author: Fire Doger
author_rank: Regular Contributor
timestamp: November 29, 2017, 06:20:43 pm
content: *NoteI forgot that for .sch only you can assign specific templates for each project in project options.

author: electricar
author_rank: Regular Contributor
timestamp: December 04, 2017, 12:23:35 pm
content: Thank you for your help!