dpap Posted October 30, 2013 Share Posted October 30, 2013 I create a detail attribute of string type with "attribute create". How can I add string data created in vops into this attibute? The "add attribute" vop node doesn't have an option for string type attribute Actually an inconsistency like this exists for "Integer array" as well. You can output "integer array" from the inline node but there is no such option in the add attribute node....Why? Any ideas ? string to attribute.hipnc Quote Link to comment Share on other sites More sharing options...
magneto Posted October 30, 2013 Share Posted October 30, 2013 I don't think you can set detail attributes in vops, but you can get them using the Get Attribute VOP. Quote Link to comment Share on other sites More sharing options...
acey195 Posted October 31, 2013 Share Posted October 31, 2013 I also had issues with this in the past... I may add that the bind exoprt VEX node also doesn't work for strings if you promote a string to use it in a vop it also gives errors (channel can not depend on time) error even if you don't have an expression or anything setup, maybe wait for H13, it could fix some of these annoyances perhaps... otherwise you may have to resort to a foreach node and cook up something inside that Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted October 31, 2013 Share Posted October 31, 2013 (edited) Is this is what you want? hello, world.hip PS. You can't set detail attribute in standard Vops, you need to use new wrangle ones. Only in them you can mix different attribute classes. So for example, you could read string from point attrib and add it to detail one. Like in attached example, but instead of reading @text you would use point() to read point attrib with "op:" syntax in place of geometry path. PS2. For standard Vops, if you want to export string to point attribute, use parameterVOP. It can do both, read and set attribute. Edited October 31, 2013 by mantragora 1 Quote Link to comment Share on other sites More sharing options...
dpap Posted November 1, 2013 Author Share Posted November 1, 2013 Thank you guys for your answers! @magneto: I am afraid you are right my friend... @acey195 : I checked the what's new in H13 vop/vex section but didn't see anything new concerning these issues. @mantragora : Thank you man! I didn't know that you can feed the "parameter vop" an input from inside vops! Quote Link to comment Share on other sites More sharing options...
hcs Posted November 4, 2013 Share Posted November 4, 2013 I'd totally forgotten the AttribVop even existed, if I ever knew. Thanks the example, mantragora. I really needed to export a detail attribute from vops and this did the trick. 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.