3dome Posted January 18, 2016 Share Posted January 18, 2016 Hi guys,I'm building a DA where the user is allowed to paint Cd values from 0 - 1 onto a mesh. Later I have a poly wire sop that should allow the user to either type in a radius by hand or use his painted values.$CR works just fine until I create an interface for the DA and drag that "radius" parameter to the interface. When I now type $CR or use point() expression (which errors out too) it won't work.As I'm quite new to building DAs I'm sure this is just a beginner's fault and easy to fix.ThanksI attached a small example scene. polyWire.hipnc Quote Link to comment Share on other sites More sharing options...
Atom Posted January 18, 2016 Share Posted January 18, 2016 It is because you are typing $CR at the top OBJ level. That variable only exists one level down. Think about it. At the top level what value do you think $CR is equal to? If you middle click on your top level node you will discover there is no $CR. The error is related to scope and or context. Quote Link to comment Share on other sites More sharing options...
3dome Posted January 18, 2016 Author Share Posted January 18, 2016 Yeah ok it is a bad example. My bad. But if you create DA out of the last 3 nodes the same thing happens although I have Cd attrib available. polyWire.hipnc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.