Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
adam.nagy
in reply to: GeorgK

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