I've just edited a template, let's call it 'Imp-A3' which was listed in the Open From Template dialogue as 'Imp-A3'. Changed a number of things in it and saved it as 'Imp-A4' and then closed it.
On creating a new drawing by using Open From Template the dialogue now shows 2 templates with a description of 'Imp-A3', one, the original with a file name of '...templates/Imp-A3' and a second (my one, with changes) with a file name of '...templates/Imp-A4'
How can I alter the internal description that is displayed in the list of templates. Creating more templates I could end up with a whole bunch all with the same description in the dialogue box.
Changing internal name when editing templates
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Re: Changing internal name when editing templates
Hi All
Windoz 10, most recent version of QCAD Pro
I have the same question.
How do we save unique names for our templates that are accessible from the template manager. It seems basic to me but can't find out how.
Thanks in advance
Windoz 10, most recent version of QCAD Pro
I have the same question.
How do we save unique names for our templates that are accessible from the template manager. It seems basic to me but can't find out how.
Thanks in advance
Re: Changing internal name when editing templates
Hi weldman - welcome to the QCAD Forum.
Just "Save As" in the template folder with an informative name like "Metric template with DIN A4 Layout Block.dxf" and the "open template" dialog will show you this ...
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Changing internal name when editing templates
A few template files contain an internal title which is stored as a property in the file. You must have copied one of those.
To remove the property, proceed as follows:
- Load your library item file.
- Misc > Development > Script Shell
- Copy this line into the script shell input field (to the right of ">")
- Hit enter
- Save your file
To remove the property, proceed as follows:
- Load your library item file.
- Misc > Development > Script Shell
- Copy this line into the script shell input field (to the right of ">")
Code: Select all
getDocument().removeVariable("Template/Title")
- Save your file