Dominik Wojtarowicz
larkis
About Me
Connect
LOCATION
ウェブサイト
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Renaming objects in alembic files 2026年8月21日14:49
Awesome, thank you for the help guys.
Renaming objects in alembic files 2026年8月21日10:42
Italimpex Productions
Hello. I recommend splitting the attribute by a colon so it becomes Boy_B_rig_v001. It will get complicated if we try to shorten further than that. I assume other objects are going to follow the same naming convention, and it's always useful to keep the version. Drop down a Primitive Wrangle node and paste the code below. It will split the path attribute by the colon sign, take the first item of the created array, delete remaining slashes, and store it into the path string. (If your geometry uses the name attribute instead of path, just swap s@path for s@name in the code).s@path = strip(split(s@path, ":")[0], "/");
I hope this helps!
Thank you. I ended up doing something similar because I needed to have the name repeated twice in order for maya to pick up the names
string raw = s@path;
string first = split(raw, "/");
string ns = split(first, ":");
s@path = "/" + ns + "/" + ns;
This gives me Boy_B_rig_v001/Boy_B_rig_v001 which works. Just curious, why did you use the strip function instead of just splitting the string directly?
Renaming objects in alembic files 2026年8月20日22:03
Hello, I'm not well versed in this aspect of houdini yet need to manipulate some data coming in from alembic which was written out of maya. The (many) objects in the file follow this pattern "/Boy_B_rig_v001:body_SUBD/Boy_B_rig_v001:body_SUBDShape" What I want to do is take the first part "Boy_B" and write that as a new name, so the alembic rop at the end writes out a "washed" abc that only has the names without the rest of the garbage. I would also be fine with just maintaining the first namespace which is "Boy_B_rig_v001" and write that for every object in the incoming abc.
What would be the workflow for this? Any help would be greatly appreciated.
What would be the workflow for this? Any help would be greatly appreciated.