Ross Kelly

Rkelly1912

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Relative Reference unable to read filepath Feb. 20, 2024, 4:32 p.m.

Hey Tamte,

That works, I figured it was something simple.

Thanks!

Relative Reference unable to read filepath Feb. 19, 2024, 8:59 p.m.

Hello Forum,
Ran into a weird one I can't figure out.

Right now I'm trying to figure out how to use relative references to update a filepath on an Attribfrommap node.



So this wrangle "works" in that if I give it this reference it loads the filepath and the A_FILENAME location correctly, output as "File_Path_Test" just to confirm it's working. (As seen in the 3rd screenshot)
However, I need to load this filepath while the "Decal_GraffitiA" path is a reference to a parameter on the parent node.

So here's my wrangle doing that.




However here's the two resulting test attributes.
As you can see the "combinedPath" script right now does not load the A_FILENAME filepath, and instead just loads it as a string of text.




I'm unsure how to make this script load the filepath as it does with the more explicit path, while still loading and updating based on the "../Material_Assignment2" string. Which is a material picker.
Which I'm hoping will update the path, as I'm maintaining the same names for "opacity/A_FILENAME" and could be used to quickly change the filepath in the attributefrommap node and be used to procedurally remove geo without color.

Here is the attributefrommap node, which, Ideal in the "texture map" section would be pointed towards whatever drives it to load the filepath based on whatever material is assigned in the material_assignment2 string as previous.



Thanks in advance!
And if you need anything clarified let me know.

I'm working on a test file to share, but I'm using octane materials, and a lot of currently loaded textures that would be hard to package. So hoping it's a simple script fix.