How can I set the Layer Explorer's position without it resetting?

How can I set the Layer Explorer's position without it resetting?

Anonymous
Not applicable
924 Views
3 Replies
Message 1 of 4

How can I set the Layer Explorer's position without it resetting?

Anonymous
Not applicable

In Max 2014 I could place the Layer Manager on my second screen and it would stay there every time I launched Max.  Now that I've upgraded to 2016 it resets it's position back to screen 1 on launch.  I even tried moving it and saving the ui scheme, to no avail.

 

Does anyone know how to get it to stay where I put it?  All the other menu's stay when moved (materials, render settings, object selection list, etc.).

925 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

So no one has idea of how to do this?  I thought maybe scripting could help, but I'm no scripter.

0 Likes
Message 3 of 4

Stefan_L
Collaborator
Collaborator

I've been struggeling with this like forever, my solution was this script, which opens the compact Material Editor, the Render Dialog and the Layer Manager:

(
	max move
	(
		if not mateditor.IsOpen() do MatEditor.Open()
		if not renderSceneDialog.IsOpen() do renderSceneDialog.open()
	)
	(
	if not sceneexplorermanager.ExplorerExists "Layer Explorer" do SceneExplorerManager.CreateExplorerFromDefault "Layer Explorer"
	SceneExplorerManager.CloseExplorer "Layer Explorer"
	)
	SceneExplorerManager.ConfigureExplorer "Layer Explorer" "C:\Users\YOUR-USER-NAME\AppData\Local\Autodesk\3dsMax\2016 - 64bit\ENU\en-US\plugcfg\ExplorerConfig\SceneExplorer\YOUR-EXPLORER.ini"
	SceneExplorerManager.SetExplorerSize "Layer Explorer" [376,845]
	SceneExplorerManager.OpenExplorer "Layer Explorer"
	SceneExplorerManager.SetExplorerPosition "Layer Explorer" [2239,1]
)

Create YOUR-EXPLORER.INI and name it as you like, there are enough examples in that path.

Fine-tune size and position (top left corner, I'm on dual screen 1680x1050).

I put it in a script button on some tool bar and press it manually after every startup, I failed with every startup script, something with the order of execution I think...

 

See attachment for my beloved workspace.

--
Stefan

i7-2600 @ 3,4GHz, 32GB Ram,
512+128GB SSDs + 2x500GB HD
GeForce GTX 980 Ti 6GB + GTX 980 4GB
latest Driver (almost always)
Win7ProX64 SP1
Message 4 of 4

crewman.in.red
Participant
Participant

I owe you an apology friend.  I've been using your solution ever since you proposed it and I never came back to thank you or up-vote you.  Please forgive me and accept my gratitude for your excellent advice.  It was only after needing to have my profile rebuilt that I came back here to find the script again that I realized my error.

0 Likes