syzmatrix Posted August 20, 2015 Share Posted August 20, 2015 Hello friends: It has been a long time since my last visit to this website, I have some questions about create Digital Asset parameter interface. In a subnetwork context, I create a attribute wrangle, and write some script about primitive attribute in VEXpression. Now I want to put the two attribute(constraint_name and constraint_type)into the parameter interface. But I can not find the two attributes under the attributewrangle node. So how can I do this job? Thank you in advance! Quote Link to comment Share on other sites More sharing options...
xs2222 Posted August 20, 2015 Share Posted August 20, 2015 if i read your question right , you have created a string attribute in the wrangle node, and need to access that through the DA ? after you create the DA from the subnet , in the parameter interface of the DA create a string attribute called blah and in your attribute wrangle node use chs("../blah"); , blah here is your conName which will get the string attribute from the parameter interface Hope this helps Quote Link to comment Share on other sites More sharing options...
anim Posted August 21, 2015 Share Posted August 21, 2015 just typing ch("conName") or more precise chs("conName") doesn't create the parameter, to create the parameter you either need to - do it manually through Edit Parameter Interface on Wrangle node or - click the plug icon on the right from the wrangle code, that will create basic parms from all your ch?() vex functions (here is important to call string parms as chs(), if you just use ch() it will create float parm) then you will be able to promote them to asset 1 Quote Link to comment Share on other sites More sharing options...
xs2222 Posted August 21, 2015 Share Posted August 21, 2015 Tomas is right , have to create the parameter ( Edit parameter interface ) in the wrangle node , in order to acess it , did not read the question correctly Quote Link to comment Share on other sites More sharing options...
syzmatrix Posted August 21, 2015 Author Share Posted August 21, 2015 Thank you guys very much! I have tested it and it works!! 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.