Detect when selection change

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

Moderator: andrew

Post Reply
Registered Member
Posts: 2
Joined: Mon Dec 04, 2017 7:00 pm

Detect when selection change

Post by modlem » Tue Dec 05, 2017 4:35 pm

Hi Andrew,

Wondering please how can I detect selection change, and detect what entities currently are selected ?

User avatar
Site Admin
Posts: 6088
Joined: Fri Mar 30, 2007 6:07 am

Re: Detect when selection change

Post by andrew » Mon Dec 18, 2017 12:32 pm

All RSelectionListeners are notified when the selection changes.

The selection display in the status bar would be an example: ... Display.js

Post Reply

Return to “QCAD Developers and Contributors”