karen Posted May 3, 2023 Share Posted May 3, 2023 in attached hip file, I'm trying to subdivide primitives using an an integer attribute as depth, but the subdivide doesn't accept the attribute and returns error "local variable not found" local_variable_not_found.hiplc Quote Link to comment Share on other sites More sharing options...
animatrix Posted May 3, 2023 Share Posted May 3, 2023 Hi, You can't read the attribute like that. You have to use the prim expression: prim(-1, 0, "depth", 0) The spare parameter would point to foreach_begin1 node. Quote Link to comment Share on other sites More sharing options...
hannes603 Posted May 3, 2023 Share Posted May 3, 2023 as animatrix told call a prim attrib local_variable_not_found.hiplc 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.