prashantcgi Posted November 6, 2013 Share Posted November 6, 2013 Hi ! Sorry if im asking something very silly. I'm assigning value to custom attribute to few points from a set of points Using there PT but these values are like specific value which i picked manually. And for assigning these specific values i'm using attibCreate node. Is there a easy way of doing this . Thanks for all the support. Odforce Rocks !!!!!! Quote Link to comment Share on other sites More sharing options...
Robert Posted November 6, 2013 Share Posted November 6, 2013 You can enter point numbers in the "group" field of the attribcreate node. You can enter individual numbers with a space between them or a range of numbers using a "-", for example: 10-20. Be sure to set the group type to points. Quote Link to comment Share on other sites More sharing options...
prashantcgi Posted November 6, 2013 Author Share Posted November 6, 2013 Hi Robert Thanks for the reply! I want to assign different values to each point number without adding many attribCreate node Something like an array where we define a specific value for specific id Quote Link to comment Share on other sites More sharing options...
Hudson Posted November 6, 2013 Share Posted November 6, 2013 Haven't tried this yet but you could do this: 1- Create a wrangleSOP 2 - Create an array in the wrangleSOP with the values you wish to use 3 - Add the attribute from the array to each point by using the points ID as the index in the array. I have to say I haven't used a wrangleSOP (that is bad I know). But this should not be a problem Quote Link to comment Share on other sites More sharing options...
Jordan Walsh Posted November 6, 2013 Share Posted November 6, 2013 Just edit the attribute directly in the details view and the lock button on the node will go yellowish-green Quote Link to comment Share on other sites More sharing options...
graham Posted November 6, 2013 Share Posted November 6, 2013 I built this thing years ago as a solution to this problem. It seems to still work, though the downside is that it is built upon using a viewport selector to choose which entities to override, rather than a field you can put numbers in. Thing could probably use a full rewrite. http://houdinitoolbox.com/houdini.php?asset=2 Quote Link to comment Share on other sites More sharing options...
prashantcgi Posted November 7, 2013 Author Share Posted November 7, 2013 Just edit the attribute directly in the details view and the lock button on the node will go yellowish-green Jordan Thanks for the trick but this trick can only work if i want to make a node lock By that the position and other attribute of the point are also getting locked Quote Link to comment Share on other sites More sharing options...
prashantcgi Posted November 7, 2013 Author Share Posted November 7, 2013 Haven't tried this yet but you could do this: 1- Create a wrangleSOP 2 - Create an array in the wrangleSOP with the values you wish to use 3 - Add the attribute from the array to each point by using the points ID as the index in the array. I have to say I haven't used a wrangleSOP (that is bad I know). But this should not be a problem Hi Hudson I'm unable to make this working Is is pointWrangle SOP or AttribWrangleSOP node? If u have some time can u please pass a sample file Thanks!!!! Quote Link to comment Share on other sites More sharing options...
prashantcgi Posted November 7, 2013 Author Share Posted November 7, 2013 I built this thing years ago as a solution to this problem. It seems to still work, though the downside is that it is built upon using a viewport selector to choose which entities to override, rather than a field you can put numbers in. Thing could probably use a full rewrite. http://houdinitoolbo...ini.php?asset=2 Hi Graham! Thanks for the node !!! There are some errors coming while i select the point using your node. Quote Link to comment Share on other sites More sharing options...
Jordan Walsh Posted November 7, 2013 Share Posted November 7, 2013 Jordan Thanks for the trick but this trick can only work if i want to make a node lock By that the position and other attribute of the point are also getting locked You could always have the semi locked node to the side and copy just the attribute back onto a non locked version of the geo 1 Quote Link to comment Share on other sites More sharing options...
prashantcgi Posted November 7, 2013 Author Share Posted November 7, 2013 You could always have the semi locked node to the side and copy just the attribute back onto a non locked version of the geo Yes i will try that! Thanks! Quote Link to comment Share on other sites More sharing options...
graham Posted November 7, 2013 Share Posted November 7, 2013 Hi Graham! Thanks for the node !!! There are some errors coming while i select the point using your node. Would it be possible to send me the error? I'd like to correct any issues the tool might have. Quote Link to comment Share on other sites More sharing options...
prashantcgi Posted November 8, 2013 Author Share Posted November 8, 2013 Would it be possible to send me the error? I'd like to correct any issues the tool might have. Garham Sorry it worked this time when i tried! Last time i deleted the node once and recreated it and got some stack overflow error Only thing is your override works only for a single point bcz there only one value box so if i have to override several points then i have to add many attribute override nodes 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.