CGDamian Posted March 30, 2022 Share Posted March 30, 2022 I really need Houdini to use a string value of an attribute as a filepath. I've been trying to find a solution, no luck unfortunately. I don't know what I am doing wrong. Please help. Here is the file demonstrating my problem: Dir_From_String.hiplc Quote Link to comment Share on other sites More sharing options...
Fenolis Posted April 1, 2022 Share Posted April 1, 2022 What's wrong? The file path seems to be working for me. You can middle-mouse-click string fields to evaluate an expression's result. This is different from clicking on the parameter name for int and float parameter types. I would suggest using a relative reference like: `details("../attribwrangle1", "file")` for parameters inside a HDA so that absolute paths don't break if the HDA exists in a context it's not expecting. If you mean, "Why isn't my texture showing?", then the answer is that the Grid does not have UVs. Drop down a UV Texture or UV Project node before the material and you should see any image linked from the subnet. Quote Link to comment Share on other sites More sharing options...
CGDamian Posted April 13, 2022 Author Share Posted April 13, 2022 It does work now. I have no idea why but middle-clicking showed an empty field on both of my PCs. Yes, I forgot about the UVs but it wasn't the case anyway. That was very odd. Sorry for responding so late, it was my first post and it needed to be approved so I forgot about it after some time. 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.