Alessandro Nardini

AlexNardini1

About Me

INDUSTRY
Film/TV

Connect

LOCATION
Canada

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Making string attribute from File Name Nov. 9, 2021, 7:17 p.m.

Yeah you are right and I probably over complicated it
I didnt even know that tool existed so thank you for sharing!

Making string attribute from File Name Nov. 9, 2021, 3:13 p.m.

Hello, with python much easier but I had a wrangle in my network so i did it with vex.
Put this in a wrangle set to "detail" mode:

string file = " A:/PROJECTS/MODELS/Cool_Models/Big_Models/Wall_01.FBX";
string split[] = split(file, "/");
string path = concat(join(split[:-1], "/"), "/");
string filaname_with_extension[] = split(split[-1], ".");
// Update this to load a new fbx filename
string filename = filaname_with_extension[0];
string new_filename = concat(path, filename, ".", filaname_with_extension[-1]);
s@AAA = new_filename;

Its done quick but hope you get an idea.

Once you have a new filename with path and exported in a detail attribute, you can use a details() hscript function inside a file node file parameter for example and load the file stored in that detail attribute,

Attribute wrangle core Nov. 8, 2021, 8:10 a.m.

Hello All!
I just noticed that in H19 inside the sop wrangles there is now an “attribute wrangle core” node instead of the preview attributeVOP.

I wonder what the differences ( faster ? ), I could not find anything in the doc.

I also did try to use them to load a compiled vex file witch work perfectly when a load that in in a attributeVOP node but without luck as it seem it’s not working when I load it in this new wrangle core node, perhaps need some extra code or different variables names or what?

A