Jump to content

Error - PolyWire Radius Parameter in HDA


3dome

Recommended Posts

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.

Thanks

I attached a small example scene.
 

polyWire.hipnc

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...