All Projects

IDProjectCategoryTask TypeSeveritySummaryStatusOpened by
2657QCAD BugtrackerQCAD (main)Bug ReportVery LowFile > New from Template...: Template not loaded with -...Assigned1CVH Task Description

Andrew,

User thhz reports that when starting QCAD with the -always-load-scripts switch a template is not loaded. Instead a drawing is created with only layer 0 ...
... Typically a plain new file.

Besides that, it seems that there are just a minimal count of Linetypes available in such a drawing document: ‘By Layer’, ‘By Block’ and ‘Continuous’.

NewFromTemplate.js is a Pro Addon.
Unstated if other Pro features are also affected.

Reported on any Win10 or Win11 64bit system he tested this on.
Reported for older installations: QCAD 3.27.?? ; QCAD/CAM 3.30.?? ; QCAD/CAM 3.26.4

It is not an issue of a crippled custom script.
On my advice also replicated with the latest trial versions without including any custom scripts at all. A clean installation fails thus with using the switch.



I can not replicate this on a Win7 32bit system with any QCAD installation that I have.
The issue popped up with the script I wrote to access XP preferences in direct for him.
The real fix for this little helpful tool was on another level. My mistake.

He wasn’t aware of that specific start switch and restarted QCAD each edit of a custom script. Exploiting that for editing on the fly.
But now it seems that templates are not loaded ... ?!

The advice is then to not include the switch for production use. ;-)

Regards,
CVH


	
Showing tasks 1 - 1 of 1 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing