Notifications
Clear all

[Closed] visual maxscript – how to link it with the new editor?

went from 9 to 2009 & noticed while in the new maxscript editor f2 doesn’t invoke the visual maxscript editor. i can run it as a utility but it doesn’t link directly with the script i’m working on anymore.

how do i get this back?

4 Replies

There’s an option in the new editor’s menu that’ll invoke it for whatever you’re currently editing.
Tools > Edit Rollout

Apparently it’s considered legacy stuff that people should ignore for all sorts of reasons (doesn’t display several controls that were added since it was last updated, positions everything using absolute coordinates (if that’s an issue), doesn’t do .NET)

I still use it, though… if nothing else it’s just easier to do quick UI mockups and layout tests. can always spend half an hour of the hours saved by making it all use relative offsets and such later on.

Hi,

You can set up a dotnetcontrol with VMXS, if you use the add custom ui item button. (the one with the head on it at the end) if you type dotnetcontrol as the class property value and the dotnetclass in the caption property, it will create the control. Probably a lucky coincidence rather than by design.

for very loose definitions of ‘set up’

It’s by design that you can add any ‘custom control’ simply by virtue of the visual maxscript editor having a fixed syntax for common UI properties (width, height, labels, etc.)… once it outputs the actual script, that will work ‘as is’.

However, you can’t actually -see- the control in the visual editor… you can’t set up any .NET properties of the control itself, etc. If you do have properties specified on the control’s line in the rollout definition, those properties will appear extra in the editor’s list, but you can’t add one from the editor itself, etc.

The same problem exists with, say, the hyperlink control that -is- native to 3ds Max maxscript UI widgets, but was never added either.

It’s not a big deal to me, as I only use the thing for quick layout bits and pieces (I do keep the absolute positioning, for various reasons), but as a ‘visual editor’ for maxscript rollouts… it’s rather dated.
There’s plenty of .NET forms editors out there, of course, and whatever form you design you should be able to easily re-use in max… which I just can’t help but feel is the direction we’re gently being nudged into

thanks guys for the responses.

yep, i just use it for quick layouts too. it’s handy when you need it.