I have a short question.
Is it possible to change the grid settings via script?
Set grid of current drawing
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Set grid of current drawing
Arch Linux, QCad 3.22.0 Prof.
Re: Set grid of current drawing
Most probably ...
Lurked into https://github.com/qcad/qcad/blob/maste ... ettings.js
It may be more complex as you think.
Unit and linear Format are involved.
The questions would be:
- What grid ... Drawing or Application?
- Unit & linear Format?
- What Viewport 1-4?
- Ortho or ISO?
...
Grid has to do with RGraphicsView:
https://qcad.org/doc/qcad/3.0/developer ... ea72810b0e
And that is as far as I am going to dig into this matter.
Regards,
CVH
Lurked into https://github.com/qcad/qcad/blob/maste ... ettings.js
It may be more complex as you think.
Unit and linear Format are involved.
The questions would be:
- What grid ... Drawing or Application?
- Unit & linear Format?
- What Viewport 1-4?
- Ortho or ISO?
...
Grid has to do with RGraphicsView:
https://qcad.org/doc/qcad/3.0/developer ... ea72810b0e
And that is as far as I am going to dig into this matter.
Regards,
CVH