IEntity_DG.Visible is not working

Everything DG Kernel: Technical discussions and issues
Post Reply
Branson
Posts: 1
Joined: Mon Feb 24, 2025 1:19 am

IEntity_DG.Visible is not working

Post by Branson »

Hi
IEntity_DG.Visible = True
Does not seem to be working in the current update 5559. It works if I use Model Explorer to show/hide

Regards
Mike Zubovic
Posts: 28
Joined: Mon Jul 15, 2024 5:20 am

Re: IEntity_DG.Visible is not working

Post by Mike Zubovic »

Hello Branson

Please use IScene_DG.Show() instead of IEntity_DG.SetVisible(). This is new functionality in v7.*. An entity can be displayed in two windows and be visible in one and hidden in the other.

IEntity_DG.Visible affects only the persistent state. It not always reflected in the scene if there was some modification (internal in the case) of visibility in the scene.

Regards
Post Reply