Message 1 of 2
Hide all tab view document and restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello ,
i have some file rvt opened and
i want to hide all tab view and show view 3d and elevation of one rvt document and tiled document.
And after i want to restore the tab hidden.
How do i do for hide and restore ?
For tile the tab view opened.
internal static void TileView(UIDocument uidoc)
{
//throw new NotImplementedException();
var uiApp = uidoc.Application;
if (uiApp != null)
{
#if v2019
RevitCommandId commandId = RevitCommandId.LookupPostableCommandId(PostableCommand.TileViews);
if (uiApp.CanPostCommand(commandId))
{
uiApp.PostCommand(commandId);
}
#endif
}
}
Thank.