[Closed] Maxscript and Custom Attributes
Hi all
If I add some custom attributes to an object, is it then possible to assign any maxscript to those attributes instead of wiring it?
I have a bunch of objects and in the custom attributes I want to be able to select which one get displayed in viewport and rendered. I see the boolean function in the custom attributes, but cant find a way to wire it to the “renderable” option of an object. Also, if I have say for example 5 boolean attributes, can I switch the others off by clicking just one to on? Or in such a case would “list” be better? Do I need maxscript in these situations?
It’s for a component I’m busy building and just want to make it easier for future use
You might want to head over to the section on scripted plugins.
The inner body definition of a scripted plugin is similar to that of an custom attribute.
There’s a few samples in the help file to get you started.
Good luck,
-Johan
You mean in maxscript help?
That looks very complex. Is that the only way?