Hide or remove Workspace toolbar from scene

Hide or remove Workspace toolbar from scene

Anonymous
Not applicable
3,542 Views
10 Replies
Message 1 of 11

Hide or remove Workspace toolbar from scene

Anonymous
Not applicable

i am using max 2018 i want  to remove wrokspace toolbar (pan ) from ui of max 2018 

please help

 

 

 workspace.JPG

0 Likes
Accepted solutions (1)
3,543 Views
10 Replies
Replies (10)
Message 2 of 11

Swordslayer
Advisor
Advisor

If you don't mind closing the account management button too, putting this in your startup scripts folder should get you there:

 

callbacks.addScript #appActivated "try (if windows.getChildHWND #max \"QmaxLegacyMenuBarClassWindow\" != undefined do
(
	callbacks.removeScripts id:#workspaceCleanup
	UIAccessor.CloseDialog (UIAccessor.GetParentWindow (UIAccessor.GetParentWindow (UIAccessor.GetParentWindow (windows.getChildHWND #max \"Chrome Legacy Window\")[2])))
)) catch ()" id:#workspaceCleanup
Message 3 of 11

denisT.MaxDoctor
Advisor
Advisor

@Anonymous wrote:

i am using max 2018 i want  to remove wrokspace toolbar (pan ) from ui of max 2018 

please help

 


what is the reason to hide this toolbar?

0 Likes
Message 4 of 11

Anonymous
Not applicable

it is working, but there is one problem with the script.

 

i need to click out side of the max an then after on viewpot of open max .

 

 

thanks and regards 

NIti Ranjan Singh

0 Likes
Message 5 of 11

Anonymous
Not applicable

i dont want to let user change the workspace or change the ui of max .

i want to keep the ui of max what i am giving  as default ui.

0 Likes
Message 6 of 11

CAMedeck
Advisor
Advisor
Accepted solution

I've been having issues with this drop-down menu as well.  I frequently use the 'm' key to toggle my Material Editor open and closed.  But fairly often I toggle the SME off, then hit 'm' to open it again and instead I get the 'Manage Workspaces' dialog box.  And this is not the only time this happens.  It seems as thought the focus keeps ending up in the Workspaces menu drop-down, and I have to keep clicking somewhere else in 3ds Max to pull the cursor out of that box to get my shortcut keys to work.

 

This is extremely annoying!  I'd use the provided script, but I do not want to remove the menu for account management.

 

Is anyone else having these issues?  I've searched and can't find any other mention, so I wonder if it is something unique to my configuration...

Chris Medeck
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 7 of 11

Egd4
Contributor
Contributor

I'm trying it in max2021 but it doesn't work...Any clue?

0 Likes
Message 8 of 11

bryce.quintin
Explorer
Explorer

@Egd4 wrote:

I'm trying it in max2021 but it doesn't work...Any clue?


I'd like to bump this as well. This script doesn't seem to be working in 3DS Max 2021. A fix would be greatly appreciated.

0 Likes
Message 9 of 11

I_Megaman_i
Collaborator
Collaborator

yep very interesting

0 Likes
Message 10 of 11

spacefrog_
Advisor
Advisor

For 3ds Max 2021 and up the following MXS snippet should work. You can paste it into the maxscript editor and drag&drop onto your toolbar if you want and it should toggle the visibility of the whole workspace dropdown ( including the login stuff ). This also should'nt affect any login state or something ( didnt test though )

 

(
	function ToggleWorkspaceDropDown =
	(
		local qtmax = python.import "qtmax"
		local dropDown = (((qtmax.GetQMaxMainWindow()).menuBar()).children() as array)[2]

		dropDown.setVisible( NOT (dropDown.isVisible() ) )
	)
	ToggleWorkspaceDropDown()
	ok
)

 

thanks go to Swordlayer to bring  me on the right path with this Qt stuff


Josef Wienerroither
Software Developer & 3d Artist Hybrid
0 Likes
Message 11 of 11

harumscarum
Enthusiast
Enthusiast

Thank you very much!

0 Likes