how to close all dockablepane

how to close all dockablepane

Anonymous
Not applicable
621 Views
1 Reply
Message 1 of 2

how to close all dockablepane

Anonymous
Not applicable

hi everyone,

Happy new year.

 

i want to close all current dockablepane open in revit document

how to get all dockablepane and close or hide them in single shot.

 

Thanks

0 Likes
622 Views
1 Reply
Reply (1)
Message 2 of 2

jlpgy
Advocate
Advocate

UiApplication.GetDockablePane(DockablePaneId id);

Store you DockablePaneId somewhere after you create them (static properties are recommended).

 

DockablePane.Hide();

DockablePane.Show();

 

单身狗;代码狗;健身狗;jolinpiggy@hotmail.com
0 Likes