02-17-2015
06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-17-2015
06:45 AM
If you named your dockable window with internal name "TestWindowInternalName" as was done in the above sample code, then this code will hide it:
Sub HideDockableWindow()
Dim oUserInterfaceMgr As UserInterfaceManager
Set oUserInterfaceMgr = ThisApplication.UserInterfaceManager
Dim oWindow As DockableWindow
Set oWindow = oUserInterfaceMgr.DockableWindows("TestWindowInternalName")
oWindow.Visible = False
End Sub
Not sure what you mean by viewcube? :-s
Cheers,

Adam Nagy
Autodesk Platform Services