(Solved)How to update or stop the display of property window?

Feel free to ask any question here
Post Reply
fblue
Posts: 37
Joined: Thu Oct 25, 2018 9:00 am

(Solved)How to update or stop the display of property window?

Post by fblue »

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
Attachments
Capture.PNG
Capture.PNG (14.87 KiB) Viewed 1656 times
Last edited by fblue on Wed Nov 28, 2018 11:02 am, edited 1 time in total.
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: How to update or stop the display of property window?

Post by daniel »

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.
Daniel, CloudCompare admin
fblue
Posts: 37
Joined: Thu Oct 25, 2018 9:00 am

Re: How to update or stop the display of property window?

Post by fblue »

Thanks Daniel, it works and that's what I wanted.
Post Reply