How To: Suspend drawing regeneration by script

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 3365
Joined: Wed Sep 27, 2017 4:17 pm

How To: Suspend drawing regeneration by script

Post by CVH » Mon Nov 30, 2020 5:50 am

Andrew,

Is there a way to suspend drawing regeneration by script?

Here: viewtopic.php?f=30&t=7842
Every individual move of a Hatch entity is followed by a delay that:
- is related to redraw the Hatch, even presumed: the whole drawing.
- the more there were moved the longer the delay. (Undocumented so far)
(QCAD is probably storing more and more undo information.)

I am aware that most of the delay originates from the hatch rendering.
(Setting these to solid reduces lagging tenfolds: https://qcad.org/bugtracker/index.php?d ... sk_id=2021)

It would be nice that I could suspend the regeneration of the drawing itself.
BUT without suspending List Widgets, ProgressBar and so on.

An off-screen document seems troublesome ...
... I already loose Blocks and entities in the original document for unknown reasons.
That's also a bit above my hat, any help welcome. :wink:

*EDIT* In the above Topic link the 13 failures are now documented.

Regards,
CVH

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”