ScriptSpot home

Isolation Levels

Downloads

All files (2)
3ds Max compatibility
See original listing claims
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

From original requirements
Tested on 2012
Original version requirement
tested with 3ds Max 2012
Author’s update date
Legacy votes
10
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

real08121985

Credited author: Andreas Meissner

More by this author

Create nested isolations, go back and forth between them. Hope it helps.

Setup & notes

installation:

  • close all open 3ds Max instances
  • remove old versions of this script
  • copy scriptfile "isolation_levels.ms" into 3ds Max startup folder (example: "C:\Program Files\Autodesk\3ds Max 2012\Scripts\Startup")
  • copy imagefiles "IsoLevels1_16i.bmp, ..." into 3ds Max usericons folder (example: "C:\Users\Username\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu\UI\usericons")
  • start 3ds Max and open menu Customize > Customize User Interface > Toolbars (Category: # Scripts)
  • create a new toolbar and drag and drop the commands "Isolation Levels - Backward, ... Forward, ... New Iso, ... Exit Iso" to it
  • restart 3ds Max, enjoy


features:

  • works as fast as the standard isolate
  • number of isolations: infinite
  • unlike the standard Isolation Mode, this script hides Xrefs while rendering in isolation
  • hint: I find it very useful to put this script on the Alt+Q button and replace the old isolation function of 3ds max
  • you can find the current isolation level in the title of the 3ds Max window, behind the scenename


script at work (old user interface, script has no extra window anymore):


to do:

  • isolation state should be stored in maxfile
Comments (56)
Krzysztof Długosz

CANT LIVE WITHOUT THIS SCRIPT

Is there any way I could donate you for this script? (Paypal/revolut)
This is one of the things that i cannot imagine to live without, and I am afraid that it will stop working someday, which is worst case scenario for me.

Reply to Krzysztof Długosz
real08121985

money money money

Hey, glad you like the script! It should continue to work stably. Because it only uses simple functions. I'm glad if it helps you with your work <3

Here is my paypal if you wanna buy me a coffee, cheers! gg9943@yahoo.com

Krzysztof Długosz

one of the best simple script ideas

This functionality should be 3ds max native, after two years I can not imagine working wihout this one.

george

saved me tons of time

One of the 10 best scrips that save hours on a daily basis!

Jez

Doesn't work for 3DS Max 2021

Can anyone help please ?

This is my most used script, I use it every single time I open and use 3DS Max.

It installs okay, just doesn't do anything when you click the buttons.

Will donate to get it to working.

Thanks.

Reply to Jez
Jez

**** Now working correctly in 3DS Max 2021 - I simply hadn't installed script fully/correctly ****

jsrocha

error

Hi, i´m getting this error sometimes - http://prntscr.com/bluub1
Just to let you know, thanks!

Jsrocha

jsrocha

suggestion

Hi Andreas, great script, i´m using it instead of max native isolate, can´t go back now :)
i have a suggestion, but i don´t know if can be done. Is there a way to put a hide selection to the isolate levels? I did a trick through macro recorder, i select the objetc (or objects) that i want to hide then select invert, and then create a new isolation level and so on. It works, but not always and not in the better way. Do you think it can be added to the script?
Thanks man,

Jsrocha

real08121985

Oh by the way, the isolation level is shown in the title of the window, at the end behind the scenename.

real08121985

Update:Due to the problems

Update:

Due to the problems with the extra dialog, the script interface has been simplified alot to remove possible causes for malfunction. If you install the latest version, now you need to create a toolbar first and add the macros of the script to it.

Script is now much more reliable and stable.

Also the handling of Xrefs has been improved alot. If you have a scene with Xrefs and you want to preview render an isolated object, then Xrefs wont be hidden with the standard 3ds Max isolation mode. With Isolation Levels Xrefs wont be rendered when using isolation.

Reply to real08121985
Branko Živković

+1

Nice works Andi.
A suggestion:
You can add one more button (toggle on/off) in the toolbar which can show info of "isolevel" number as "gw.text" in viewport

Vidi

1) When opening isolevels dialog it instantly disappears. This happens only on my computer yet. I recently reinstalled Windows and the same 3ds Max version as before, so I'm not really sure why this error happens yet.

Same here, please check what happend

Thanks

real08121985

I recently encountered 2 errors happening with this script:

1) When opening isolevels dialog it instantly disappears. This happens only on my computer yet. I recently reinstalled Windows and the same 3ds Max version as before, so I'm not really sure why this error happens yet.

2) A coworker has a Microsoft .Net error. A .Net error message will appear again and again on the screen.

Both errors only occured on single PCs yet, so no mass errors yet.
Can anyone report similar (or other) issues / bugs / errors with this script?

Reply to real08121985
Herr Bert

So far it's running smoothly, but I have to admit I forgot to install the latest version.
Sometimes I have to close the IL Dialog and start a new Isolation to get it working again.

kurt_hectic

Great! Thanks man!

milie

New error

I receive the attached error when i run the script the first time i start max. If i evaluate the script it will work for any max file opened after this.

But if i restart 3dsmax, the error appears again...

Attachments
Reply to milie
Herr Bert

Yeah, working great so far. Thanks again!

One small nitpick: The floater stays on top not only in Max but also when I switch to other programs.

Reply to Herr Bert
real08121985

That annoyed me alot aswell, please try version 12. I tried to fix that problem.

Reply to real08121985
Branko Živković

TopMost property problem
If you want to place your dialog (form) always on top but inside of max use this fn


fn maxHW = (dotNetObject "maxCustomControls.win32HandleWrapper" (dotNetObject "System.IntPtr" (windows.getMaxHWND())))
cForm.Show(maxHW())

edit
I see that you tried this :)

Reply to real08121985
Herr Bert

This script has completely replaced the Max standard version for me. Many thanks again! :)
I wondered if you were still working on the task of saving the isolation with the file. When saving manually I remember most of the time to exit IL, but autobackups can be a bit of a headache.
Did you ever think about simply using the standard isolation for this?
Your script would remember the levels, but isolate the selection with max's built in system. This way one could simply exit isolation if one had to recover an autobackup file or saved the file with IL active.

real08121985

I updated the script. Installation is now different, please read in description. I hope to find some more time today to test this version and also to add the ability to store the isostate in the scene.

Reply to real08121985
milie

dotNet exception

The script runs great until i close it's window.
After that, if i run the script again, it will show the attached error.

Attachments
Herr Bert

Thanks a lot!

I agree with headd on both accounts, though navigating through the levels with the dialog works fine.
Initially hidden objects stay hidden, now. :)

There seems to be a bug if the user deletes meshes:

-- Error occurred in shutdownScript(); filename: Z:\software\3dsmax\maxplugs_new\isolation_levels_08.ms; position: 651; line: 34
-- Frame:
>> MAXScript dotNet event handler Exception:
-- Runtime error: Attempt to access deleted scene object <<

Thx for the great work!

milie

Bug

There is a bug if i run the script(Alt+Q) when there's a IsoLevels window already opened. It opens a new window and messes up the original one ( the isolation levels won't work, error in attachment).

Instead, if you hit the shortcut(Alt+Q) it should switch to the next isolation level or create a new one, like you'd hit the --> button.

What do you think?

Thanks

Attachments
Reply to milie
real08121985

I will try to fix this. For now just click on the button to prevent the error.

milie

GREAT!

Hidden objects now stay hidden, good work and thanks again :)

real08121985

I tried to fix bugs and get rid of some points on the todo-list with the version 8. Hope it works, I didnt had the time to test it yet. Now it shouldnt unhide all objects when the dialog is closed and it should always stay on top. Thanks to barigazy for the code!

milie

I agree with Herr Bert, the fact that it unhides objects hidden before running the script is tricky, especially if you work on someone else's max file and you don't know what was visible or not.

milie

Awesome!

Is there any way to memorize the isolations when saving a max file? If i save the max with objects isolated, i have to manually unhide them when reopening the scene.

I think you could use selection sets, with custom names, that the script recognizes. That if no one else uses selection sets, i know i don't :D

Anyway, cool script. Maybe Autodesk will should consider this as a standard option for Isolate

Reply to milie
Herr Bert

Keep initially hidden objects hidden

This is a really great tool! Thank you!

However there is bug that makes it almost useless to me:
On closing the tool or going up to the highest level IL unhides ALL objects, even if they were hidden before using the tool.

Reply to real08121985
Branko Živković

Suggestions for 1st and 3rd "to do"
#1 With .net form U can stay Always "On the Top" :)


 (	
	if ::form != undefined do try(form.close())catch()
	local btn1, btn2, btn3
 	fn maxHW = (dotNetObject "maxCustomControls.win32HandleWrapper" (dotNetObject "System.IntPtr" (windows.getMaxHWND())))
	fn defBtn btn form x: w: txt: = 
	(
		btn.bounds = dotNetObject "system.drawing.rectangle" x 0 w 40
		btn.FlatStyle = btn.FlatStyle.System ; btn.text = txt
		btn.Margin = dotNetObject "padding" 0 0 0 0
		form.Controls.add btn
	)
 	form = dotNetObject "form" ; form.text = "IsoLevel: 0/0"
	form.AutoSizeMode = form.AutoSizeMode.GrowAndShrink
 	form.ShowInTaskbar = off ; form.autosize = form.TopMost = on
 	form.FormBorderStyle = form.FormBorderStyle.FixedToolWindow
 	form.StartPosition = form.StartPosition.Manual
	form.DesktopLocation = dotNetObject "System.Drawing.Point" 50 110
	
	btn1 = dotNetObject "button" ; defBtn btn1 form x:0 w:40 txt:"<--"
	btn2 = dotNetObject "button" ; defBtn btn2 form x:40 w:80 txt:"New Iso"
	btn3 = dotNetObject "button" ; defBtn btn3 form x:120 w:40 txt:"-->"
	
 	form.show(maxHW()) ; ok
)

#3 Why not use CA to store last state of the scene and then add CA to "rootnode"

real08121985

This script really helps me so often right now so I thought I would share the latest version with you guys, as I constantly keep debuging it while using it in daily work. Some bugs are fixed and it seems pretty stable. Things I wanna add in the future are now added on todo list in description.

Also I think it works even faster than the standard isolate function of 3ds max, maybe you can share your feedback about this. Have fun guys.

ivailora4kov

Problem with 3Ds MAX Design 2013 - fixed

Everything works now as it should in version 04. Thanks.

ivailora4kov

Problem with 3Ds MAX Design 2013

Hi,
I am using 3ds MAX Design 2013 64 bit.
the problem:
first - i am isolating 20 objects, second i am isolating 10 from these 20 objects, third - i am isolating 5 from the 10th objects and finally - 2 from the last 5. till here everything i ok, but when i click once backward - it goes to the second isolate, not to the third or fourth - directly on second. the forward arrow remembers my isolation's, but i have to go to the second when i am going back, and then forward one by one to this one I want.

Reply to ivailora4kov
real08121985

I noticed that too, I cound not figure out why it is doing it yet. Will try to fix.

bronius

Very buggy on MAX 2014

real08121985

Update: The script is now at least 120% cooler.

Reply to real08121985
milie

In the latest update it seems that you can have multiple isolations with the same selection. Is this intended? :)
Also, when exiting with an empty scene, this error appears "Error occurred in cIsoLevels.close();"

Reply to milie
real08121985

Multiple isolations with same selection should not be possible. The script checks if the number of selected objects changes, if not then there wont be a new isolation layer. The error with empty scene has been fixed. Thanks for testing.

milie

Cool stuff :)

Started using it right away, replacing Alt+Q.
It seems bug free for now.

Thanks a lot :)

stenionet

Error

I receive this error:
"for obj in objects where not obj.isHidden and lIsoVis[nIsoLevel][obj.handle] do"

And the buttons(arrows) that are grey out(off), are hard to see that they are grey out.

I think that you could add a "exit isolation mode"

*Sorry for my english.

grip

Got a model which is pretty complex with multiple "layers" and this script just makes it so easy to go up and down the layers! TY!

zahid hasan

smart interface.hope soon you will post the bugfree version.

real08121985

Noticed some bug in the script causing the isolation to exit with "Cannot unhide $". Will fix asap.