Hi,
In my plugin, I create a new ccHObject in the DB tree after the original ccHObject. And the original ccHObject is deselected automatically. But the property window still displays the property of the original object, as shown in image below.
How can I update the property window without clicking manuelly the new object? or can I disable the display of property window during the processing?
Thanks
(Solved)How to update or stop the display of property window?
(Solved)How to update or stop the display of property window?
- Attachments
-
- Capture.PNG (14.87 KiB) Viewed 1683 times
Last edited by fblue on Wed Nov 28, 2018 11:02 am, edited 1 time in total.
Re: How to update or stop the display of property window?
The object is 'disabled' but still 'selected'. This is why the properties are still displayed.
You have to deselect the current object. You can do it by using the 'setSelectedInDB' function to change the selection state.
You have to deselect the current object. You can do it by using the 'setSelectedInDB' function to change the selection state.
Daniel, CloudCompare admin
Re: How to update or stop the display of property window?
Thanks Daniel, it works and that's what I wanted.