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

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

Detect when selection change

Postby 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: 5242
Joined: Fri Mar 30, 2007 6:07 am

Re: Detect when selection change

Postby 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

Return to “QCAD Developers and Contributors”

Who is online

Users browsing this forum: No registered users and 1 guest