A script that adds some more functionality to the mxs editor.
Script
Maxscript extended editor
By haavards · 2011-05-07
Community compatibilityNo compatibility reports yet
No reports yet for the available releases.
Community reviewsNo reviews yet.
- Version
- 1.1beta
- 3ds Max compatibility
- Unknown
How compatibility works
Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.
Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.
Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.
- Original version requirement
- Tested in Max 64bit: 2012, 2010. Max 32bit: 2010
- Date updated
- 2011-05-07
- Legacy votes
- 46
Downloads
Description
Additional Info
(copy&pasted text from my site)
Started on this new script some time ago and i'm working on it on and off when I got time. At the moment it is still kinda rough around the edges and serves more like a proof of concept rather than a finished script. Anyway.
This script is meant to add some functionality to aid the scripting process in Max. The first thing you'll notice is that the scripting window and the listener is bundled into the same window. You can toggle to hide and show the listener by pressing the Listener button at the top button row.
The next thing I added is a simple outliner which shows a list with all your functions, UI elements, structs and event handlers in the currently opened maxscript. It works the same way as the ctrl + right click functionality in the editor; it will set focus where the selected element is in the script. You can toggle this feature on and off just like with the listener. Default is off.
The biggest feature of this script is an added scripting window where you can edit and compile c# and VB code. It has not very much functionality added to it, but you don't need an external IDE to compile assemblies to use in Max. You can compile your code to either an executable, an assembly or just straight to memory. There is syntax highlighting for c# only.
Before you can compile you need to configure the compile settings. If you are creating an executable or an assembly you need to specify the name and the path where you want to save the compiled results. When you are compiling to memory you just need to specify that you want to compile it there. If you need to refer to other .dlls or files add them to their respective text boxes (separated with a ',') See picture:
If you compile to memory, you can access the compiled results like this (old picture):
You can toggle this window on and off just like the others. Default is off.
The last feature is a stripped down (UI wise) version of the script explorer. Details can be seen here
Some credits:
http://forums.cgsociety.org/showthread.php?t=899696 Used this as a base to poll updates from the mxs editor.
http://www.mdxinfo.com/resources/scripting.php Used a heavily modified version of this for the new scripting window.
As mentioned, the script is still very unpolished. But do try it and give me some feedback! :)
Download for Max 2010 and above: Click to download
Download for Max 2009: Click to download Thanks to Alexander Kramer for making it work in Max 2009!
Known bugs:
- If the maxscript editor turns all gray, just create a new script from the MAXScript dropdown menu inside max. This will refresh the window back to normal.
- If you have not set the compile options and press the compile button, the compile options are triggered but the script is not compiled. You need to press the compile script button again to compile.
More by haavards
View all contributionsTetGen2Max
Simple interface talking to TetGen through 3dsMax. TetGen is a program to generate tetrahedral meshes of any 3D polyhedral domains. TetGen generates exact constrained Delaunay tetrahedralizations, boundary conforming Delaunay meshes, and…
Script
0 commentsQHULL2MAX
(copypasta from my website) QHull in 3ds max I stumbled over the http://www.qhull.org/ library and it got some really powerfull features like computing convex hulls, Delaunay triangulation and Voronoi diagrams. Decided to try and get some…
Script
7 commentsJigsawMaker
(Copypasta from my webpage) Jigsaw maker For fun I made a little jigsaw script. Just specify how many pieces you want and optinally draw a template spline for your pieces to generate a fully random jigsaw. If you want custom pieces, just…
Script
5 comments





Comments (23)
Comment policy
is this version capable of working in 2016?
Here is a working instrument
Not lost :)
Attachments
didnt work :(
-- Error occurred during fileIn in #C:\3dsmax2014\3ds Max 2014\scripts\MXSExtendedEditor\MXSExtendedEditor.ms; line number: 35
-- Error occurred in anonymous codeblock; filename: C:\3dsmax2014\3ds Max 2014\scripts\MXSExtendedEditor\MXSExtendedEditor.ms; position: 1339; line: 35
>> MAXScript FileIn Exception:
-- Syntax error: at ;, expected
-- In line: f <<
max 2013/14
Thanx
Nice Tool
That should be doable, I just have to find time! It looks like I'm going to be buried in school assignments this semester :)
Features
Nice work! The outliner is very useful!
I just have two wishes for the next version, maybe you've already planned to develop them : the posibility to switch the outliner from right to the left of the editor, and a real treeview behaviour in it (meaning the collapsing of main nodes like Functions or UI Elements).
http://www.scriptspot.com/3ds-max/scripts/mspm-maxscript-project-manager
I think this is what you are looking for script_butler. I've not tried it myself, but is has an automatic creation of mzp-files. The compiler in my script is for c#/vb :)
I rewrote the whole mxs extended editor the other day, I'm going to upload it soon I guess.
Great stuff! Already replacing my normal editor. One issue though - when closed some of the windows stay as separate and should be closed one by one manually.
How can i access the compiler?
I'd like to compile a script of mine to a .mzp and think your script is the answer but I can't find how to use the compiler....
There's no such thing as 'compile to a .mzp file'. Maxscript Package files (.mzp) are just .zip files with their extensions renamed. They're used to distribute files that make up a single tool. MaxScript is a JIT compiled language. Tools are always distributed as source code.
Hei,
don't know what could be the cause of the scrolling issue. Currently I use max2012 64bit on a 3 year old pc, and the scrolling works normal here.
About the embedding, I actually got a script for it that I had implemented in the extended editor.
http://folk.ntnu.no/havardsc/scripts/MXSExtendedEmbedAsViewport.ms
http://bildr.no/view/884488
Open the extended editor first and the run this script.
Unfortunately it has a bug where the dotnet buttons stop working when the script is an extended viewport. The workaround is that you have to drag the explorer, outliner and the dotnet script window manually if you need to use them.
After my exams now in May, i'm going to do a rewrite of the whole extended editor. I got some new features and hopefully some bugs will be squashed.
Scrolling is too slow
Hey Haavard,
Great script man.I love the function outliner feature.Thanks for doing this.
I haven't been able to use it to it's full extent because, the script editor window scrolling is too slow.It looks like it's lagging.
I am using 3dsmax 2012 64 bit on a windows xp 64 bit machine.I am guessing it's a problem in my system as i haven't seen anyone else posting about it.Anyways, i will keep checking.
Thanks
Keep up the good work :)
Very cool, but as mentioned here a bit laggy scrollwise.
Do you know some way to register the editor as a viewwindow? (registerViewWindow())
It would be super nice to have the editor and the listener as an extended viewport.
Adios on the toilet
Weird Miauu, have not been able to reproduce that one. I just tested it in max2008 64bit and it seems to running kinda poorly there. The script organizer acted up a bit on few of its features and the outliner stopped working after Max lost focus. If i remember correctly Max versions prior to 2010 are running an older version of the dot net framework, maybe that is the cause.
DeadClown: That looks like a cool thing to try an implement as an exercise! I will look at it when I'm done with my exams at the end of the month :)
The "Outliner" work very strange on my max2009 32bit. When I double click on function's/UI element's/struct's/event handler's name the script go to top(0 line) and all code from start to the selected function's/UI element's/struct,s/event handlers name become highlighted(selected) and I have to manualy roll to find where the highlighted code end.
wow! Great Idea, very useful! A thing I would love to see is a minimap like in "sublime text" editor.
Another nice-to-have feature would be customizable colors, white is a bit too bright for my color scheme ;)
Attachments
Very nice, what a great idea!
Thanks for the feedback!
Thanks for the update Track, added an additional download link now : )
It looks very interesting and cool!
I sent e-mail with the description how to make that the script can be run in 3ds max 2009.
Thanks.
P.S. Yes - it is really cool!
I love outliner!
oh damn.
I just opened this, and i'm already completely thrilled by it. thanks man for sharing :D
i didnt test it yet
but from what i read you just made my day :=)
The same what tassel said. This is very cool!
Nice :)it's a shame that
Nice :)
it's a shame that Autodesk has not done anything with this or prioritized this, so that a "common" maxuser in the community do this is quite amazing.
Cheerz!