Seems like a Shelf button would be the best way ;) Whargoul's idea is a solid improvement though, a more generic scriptJob that queries a specific custom attribute is much more flexible than a hard-coded one, and allows multiple of these "master control" objects to be used without writing more than one script. You could…
I think you would handle this by storing them in an array, and selecting them from an array. I don't know off the top of my head how you would code this, but I hope this can lead you in the right direction, and offer some prompt help. I think this may help: http://accad.osu.edu/~aprice/courses/694/variables.html#array
Hey all you scripting gurus. How do I create a scriptnode that contains a larger amount of code? I need to create a scriptnode (with MEL) that contains my global procedure, but the syntax gets broken if I try to add it all in to the scriptnode command.... Or is there another solution? I want my scriptnode (that runs on…
Ok. Problem no. 2 If use this command:select pSphere1 pSphere2; It will select both objects (pSphere1 and pSphere2) If I store it as a value in a string and try to use it with the select command:string $ objects = "pSphere1 pSphere2" ;select $ objects; I will get this: // Error: line 1: No object matches name: pSphere1…
If you wanted to go the ScriptJob way, then you'd have to have a scriptJob looking for a specifically-named node, and have the job call on the event "SelectionChanged". That way it will constantly be called, but it will be fairly low overhead if you set the very first thing to bail out of the scriptJob if the size of the…
Slight bump with an easy scriptless method; add a group/node as a child of the object you want as control, and the other objects as children of the node. Has the downside of transform inherits, in case that's an issue. Arbitrary Mesh -Group --Obj1 --Obj2 --Obj3
Hey. Does anyone know how to set up a control object, that when selected, selects other objects in my scene? I'm thinking script job, but I've never really used them before, and I can't seem to find the correct condition for it to work..... Any ideas? I first tried to just put all the selection handles in one place, but…