QCAD Bugtracker

  • Status Closed
  • Percent Complete
  • Task Type Feature Request
  • Category QCAD (main)
  • Assigned To
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3 RC3
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Stefan - 19.02.2012
Last edited by Andrew - 28.02.2012

FS#505 - multiple print configurations (layer+scale+center)

having multiple print configurations regarding visible layers, scale and paper centre saved in the drawing or in a separate file would be extremely helpful

Closed by  Andrew
28.02.2012 10:36
Reason for closing:  Won't implement
Additional comments about closing:  

Close requested by user

Stefan commented on 23.02.2012 17:10

I wrote a small QCAD3-ECMA-script to do this, but I stick at the same issue as:


How do I switch the visibility of layers in a script? Attached you find my quick-and-dirty script (with copy+paste from Print.js and Dwg2Pdf.js) with "DOES NOT WORK" in line 56...

Thanks a lot

Stefan commented on 24.02.2012 11:58

got it, perhaps it helps others:

  var layer = this.document.queryLayer(39);
  var operation = new RModifyObjectsOperation();

I will request closure of this request, beautify my script and upload it.

Stefan commented on 24.02.2012 19:40

Attached is the cleaned up script. Two major issues remain (and I have no idea how to solve):
- points are not printed (printed without problems in original print function of QCad)
- blocks are either completely visible or completely invisible (blocks with multiple layers are visible even if some of these layers are frozen)

Thank you for any help on those issues.


Available keyboard shortcuts


Task Details

Task Editing