XREFDisplayFix
---------------------------------------------------------------------------------------------------------------------------------------------
XREFDisplayFix V1.0 - INITIAL RELEASE
Fixes the non-working Xref Scenes "Box" and "Visible" display options in Nitrous.
---------------------------------------------------------------------------------------------------------------------------------------------
PURPOSE:
- Since the introduction of Nitrous, Xref Scene's "Box" or "Visible" options are not respected after scene load
- This script fixes those XREF Scenes display options right after the scene is loaded, without any user interaction
- "Box" mode works only on 3ds Max 2014 and up. Previous Nitrous versions can't display xrefs in "Box" mode at all
INSTALLATION:
- Copy this script to "...\scripts\Startup" folder, either in the Max root or your user's folder
- You can place the script into the corresponding User's "..\scripts\Startup" folder alternatively of course
- Restart 3ds Max
- The maxscript listener should print the following text when successful:
XREFDisplayFix: LoadingFix installed...
UNINSTALLATION:
- To uninstall, simply remove the script from your "...\scripts\Startup"
USAGE:
- The script works after installation without any further user interaction
- Additionally it provides the following commands ( accessable via Maxscript listener )
XREFDisplayFix.Activate(), XREFDisplayFix.Deactivate() .... Activates/Deactivates the automatic fixing
XREFDisplayFix.RunOnce() ...runs the display option fix on the current loaded xrefs scenes, - If you don't want the fix to be applied automatically when loading scenes containing XREF Scenes,
open the script in the maxscript editor, and change the following line (right after the comments section):
"private AutoStart=true," to "private AutoStart=false,"
In that case, you still can use the mentioned commands to enable/disable or run the fix once on an open scene
Comments
Thank you Josef
Any chance to support Max 2012, for Xref visibility only?
Good one
Thanks Josef. This one has annoyed me for a couple years now. I generally love Nitrous... and now I can love it just a little more.
_______________________
Shawn Olson
Developer of Wall Worm