Denver Posted November 5, 2014 Share Posted November 5, 2014 Hello everyone, i'm new to Houdini so forgive me if it's a stupid question.I'am following a tutorial to "control your fracture in houdini", and everything is good until, he use a certain method to make passive some blocks.The method seems quite simple, attach a point to each piece with a foreach and a centroid expression, transfert a Color attribute from an old geometry to the new one to have some black points where he wants passive blocks.after that, he use an ActiveValue sop, and put a point expression in the activation channel, and everything seems to works for him.But when I try that expression : point("../../HEAD_BASE/PASSIVE",$OBJ,"Cd",0) : I have that error : Unable to evaluate expression (Bad data type for function or operation (/obj/AutoDopNetwork/activevalue1/active))I did some research, and apparently i'am not the only one with that error, but i didnt find any solution yet, If someone have an idea to help me, or another solution to makes some blocks of your fractured object passive.Have a nice day. fracturing_setup.hip Quote Link to comment Share on other sites More sharing options...
pbarua Posted November 6, 2014 Share Posted November 6, 2014 But when I try that expression : point("../../HEAD_BASE/PASSIVE",$OBJ,"Cd",0) : I have that error : Unable to evaluate expression (Bad data type for function or operation (/obj/AutoDopNetwork/activevalue1/active)) Use $OBJID instead........ Quote Link to comment Share on other sites More sharing options...
Denver Posted November 6, 2014 Author Share Posted November 6, 2014 I Tried your method, and I still have an error : " Invalid source /obj/HEAD_BASE/OUT_PASSIVE " Quote Link to comment Share on other sites More sharing options...
pbarua Posted November 6, 2014 Share Posted November 6, 2014 I Tried your method, and I still have an error : " Invalid source /obj/HEAD_BASE/OUT_PASSIVE " Hey, I checked your file and working perfectly for me by replacing $OBJ by $OBJID. Quote Link to comment Share on other sites More sharing options...
pbarua Posted November 6, 2014 Share Posted November 6, 2014 By the way I don't have your head geometry, so I tested on sphere. Quote Link to comment Share on other sites More sharing options...
pbarua Posted November 6, 2014 Share Posted November 6, 2014 I Tried your method, and I still have an error : " Invalid source /obj/HEAD_BASE/OUT_PASSIVE " From where you got this file? I mean is it your file? Do you have head geometry which is read by file sop in your .hip file? Quote Link to comment Share on other sites More sharing options...
pbarua Posted November 6, 2014 Share Posted November 6, 2014 I doubt you don't have source geometry. Quote Link to comment Share on other sites More sharing options...
Denver Posted November 6, 2014 Author Share Posted November 6, 2014 (edited) oh realy ? could you send me the file you use ? i should have miss something, because it's not working for me. Yes it's my file i have the geo file, but i cant upload it on the forum, may be i can send it to you by mail ? Edited November 6, 2014 by Denver Quote Link to comment Share on other sites More sharing options...
pbarua Posted November 6, 2014 Share Posted November 6, 2014 I didn't do anything fancy just placed a sphere instead of file sop and changed $OBJ to $OBJID. Can't upload file from work! Quote Link to comment Share on other sites More sharing options...
Denver Posted November 6, 2014 Author Share Posted November 6, 2014 My file reads a fractured object that i make juste before, nothing fancy too. Quote Link to comment Share on other sites More sharing options...
pbarua Posted November 6, 2014 Share Posted November 6, 2014 (edited) have a look......... fracturing_setup_tested_on_sphere.hip Edited November 6, 2014 by Pradeep Barua Quote Link to comment Share on other sites More sharing options...
Denver Posted November 6, 2014 Author Share Posted November 6, 2014 Well, i believe you of course, but it still doesnt work on my Houdini. May be the version of houdini. i'll try with another. Quote Link to comment Share on other sites More sharing options...
Denver Posted November 6, 2014 Author Share Posted November 6, 2014 well, it still doesnt work here, could it come from the version of Houdini ? Quote Link to comment Share on other sites More sharing options...
Yannick Posted February 22, 2016 Share Posted February 22, 2016 Hi, I have the same issue. I am doing this tutorial: http://www.digitaltutors.com/11/training.php?pid=1091#overviewand I am stuck at lesson 9. I am working on H15 and the activevalue node doesn't work as expected. I saw this problem on a lot of forums but no solution. As anyone got any update on this? Thanks, Yannick Quote Link to comment Share on other sites More sharing options...
cgcris Posted February 23, 2016 Share Posted February 23, 2016 Hi there, here is an example on how to do a similar thing creating your own active attribute. Hope this helps jump this hurdle.. active_attribute_transfer_packed.hip Quote Link to comment Share on other sites More sharing options...
Yannick Posted February 23, 2016 Share Posted February 23, 2016 Hi,I am still trying to solve this issue.I have attached a file which show how far I am. I have transfer some colour attribute but I am not sure how to use it to stop some of the shatter object to fall. Any help would be much appreciated Thanks. Yannick active-passive.hip Quote Link to comment Share on other sites More sharing options...
cgcris Posted February 23, 2016 Share Posted February 23, 2016 (edited) if you see my file again, inside the sop solver you will find the attribute transfer. Note that you must specify what attribute to transfer, in your case there are no attribute specified so this transfer is doing nothing. Geometry spreadsheet, it's all there Edited February 23, 2016 by cgcris Quote Link to comment Share on other sites More sharing options...
Yannick Posted February 23, 2016 Share Posted February 23, 2016 Hi Christobal, Thanks again for helping me. I look in your file and couldn't find the attribute transfer. You have an attribute create. or are you talking about my file? How do I create an attribute in the attribute transfer? Thanks. Quote Link to comment Share on other sites More sharing options...
cgcris Posted February 23, 2016 Share Posted February 23, 2016 (edited) In my file is inside the "sop solver", where the transfer is happening. Here is another example, you can find it next to Points: P (transfering position) Edited February 23, 2016 by cgcris Quote Link to comment Share on other sites More sharing options...
Yannick Posted February 23, 2016 Share Posted February 23, 2016 got it, I didn't see the transfer attribute inside the solver. Now it is working. Thanks. Attached is the file for anyone in the same situation. passive attribute2.hip 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.