Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to close all dockablepane

1 REPLY 1
Reply
Message 1 of 2
Anonymous
389 Views, 1 Reply

how to close all dockablepane

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

1 REPLY 1
Message 2 of 2
jlpgy
in reply to: Anonymous

UiApplication.GetDockablePane(DockablePaneId id);

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

 

DockablePane.Hide();

DockablePane.Show();

 

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Customer Advisory Groups


Rail Community