Okay I found it. So I borrowed a lot from Joshua Newmans script on this thread There is also a lot of reasources here that might help:
I was working on somthing similiar a few weeks ago. Have a look at this. you should be able to find what you need from it or it might just be what you…
You where getting the error becuse of this line for obj in $ do. If there is no selection here you get the error. so it never moved on to the next lin…
Thanks for sharing this with us. I like your ideas on node based scripting. I think that might make it a little more approachable by users with less s…
Try Pressing ESC, while your cursor is in the listener.
No problem, I was going through the same thing about a year and half ago. Glad I could help.
This is a really good tool I use all the time to edit custom attributes among many other things.
Then this is waht you need: ca = attributes AttributeHolder ( parameters main rollout:slidertest ( sliderthing type:#float UI:sliderthing defau…
Have you tried the Parameter Editor under Animation>Parameter Editor? It sounds like this would be the easiest way for you to create a slider and c…
And if you want to add a slider to the attribute holder. ca = attributes AttributeHolder ( parameters main rollout:slidertest ( sliderthing type…
oops, sorry looks like I had an extra bracket. Here somthing less comlicated. ( rollout slidertest “slidertest2” ( slider sliderthing “sliderythingy”…
Is this what your trying to do? ( global slidertestFLOAT try (cui.unregisterDialogBar slidertestFLOAT) catch() — If already registered, then unregis…
Worked fine for me as well…
for i = 1 to meditmaterials[1].material.count do ( sContour = simple__contour () meditmaterials[1].material[i].mental_ray__material_custom_attribute….
Thanks that was driving me crazy. Works Perfectly now.