Hi Andrew,
Wondering please how can I detect selection change, and detect what entities currently are selected ?
Detect when selection change
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.
Re: Detect when selection change
All RSelectionListeners are notified when the selection changes.
The selection display in the status bar would be an example:
https://github.com/qcad/qcad/blob/maste ... Display.js
The selection display in the status bar would be an example:
https://github.com/qcad/qcad/blob/maste ... Display.js