Here ya go:
The Viewport Maxscript Editor Version1.2c - released 2011.03.26
Download and extract .zip contents, run .ms file.
Prior releases:
The Viewport Maxscript Editor Version1.2b - released 2011.03.11
Download and extract .zip contents, run light or dark .ms file.
The Viewport Maxscript Editor Version 1.2 (with Lite and Dark skins) - released 2011.03.06
Download and extract .zip contents, run .ms file.
The Viewport Maxscript Editor Version 1.1 - released 2011.02.27
The Viewport Maxscript Editor Version 1.0 - released 2011.02.23
I'm happy to release a new script that allows you to create scripts using objects in max's viewport.
I call it "The Viewport Maxscript Editor", and it's existence is the direct result of [this post](http://forums.cgsociety.org/showthread.php?f=98&t=955342).
It was written with the idea that it could replace the long outdated and basically useless "Visual Maxscript Editor" - it's even named the same acronym.
Enough talk. [Here's a demo of how it might save you time.](http://www.youtube.com/watch?v=qA_-wU8khiE)
Here's the process to get started using it:
[img]http://www.garrickcampsey.com/media/VMEhowTo.gif[/img]
This is a version 1 release, so if people like it/use it/have feedback, then I'll be happy to update it.
Use it, break it, dig thru it, tell me how it can be made better.
--
j83:
I would suggest never use the Visual Maxscript editor, it creates messy code, spaghetti-like UI controls, and hard-codes all UI positions which makes it very time consuming to manage and add new functionality. The Visual Maxscript editor was abandoned by Autodesk a long time ago and I don’t think they’re going to finish it.
This comment was used like a guide. I've tried to format the code the script writes in a simple and straight forward manner, and the script itself was created to allow additional UI elements to be added later on, as well as groups/presets of UI elements. Unfortunately, for this release, I've hard-coded the UI positions - but I plan on adding a checkbox to toggle between writing offset: instead of pos:. Default events would be easy to write as well, so that may be an update. Here's the code from the above .gif image:
global Rectangle001
try destroyDialog Rectangle001 catch()
rollout Rectangle001 " Rectangle001"
(
--UI ELEMENTS
button Rectangle002 "caption" pos:[100.0,135.0] width:100.0 height:30.0
)--close rollout
createDialog Rectangle001 300 300 250 100 lockWidth:true lockHeight:true style:#(#style_toolwindow, #style_sysmenu, #style_resizing)
Hope people find it useful! :)