Fernando Reule

freule

About Me

CG Generalist
EXPERTISE
VFX Artist
INDUSTRY
Film/TV

Connect

LOCATION
Canada

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Export multiple fbx files April 16, 2024, 6:17 p.m.

EDIT: Ok I figured it out. Apparently the "0" doesn't count as input (which now that I understand it totally makes sense). So I replaced with the actual path and it worked. Thanks!


For some reason I can't get the @name attribute as a file output as I can in a regular, single-frame ROP FBX Output.

This output code works perfectly in the regular FBX Output node (but it doesn't render frame range):


But inside the Topnet the exact same code doesn't work:


I'm exporting different geometries with very different asset names, so I wanted to use the @name attribute from the geometry. I didn't want to use a generic "building_$F" (which works just fine).

Any clues on how to do that?
Thanks!

Attrib Create Value not overriding Default value? Aug. 29, 2023, 3:04 p.m.

vicvvsh
"active" is a point integer attribute, not a float attribute. Try change type in attribcteate SOP and you get what you want.

Yes, but weirdly enough, it works as float too in the 2nd example.
I remember trying switching to integer and getting the same error, but now I tried it again and indeed it works, thanks!

npetit
active should be an int attrib - if you switch the attribcreate SOP's type to Integer in your first example, it works as expected.
in a wrangle you can do
i@active = i@group_groupexpand2;

Yup, tried again and it works, thanks!

Attrib Create Value not overriding Default value? Aug. 28, 2023, 4:54 p.m.

Thanks for the answer!

I'm aware that the AttribCreate node has to create the attribute for all the points. In my first gif I was assuming that it would create a default value of 1.0 for ALL the points and assign the value of 0.0 only for the selection. The visualizer and the spreadsheet show that correctly (black as 0.0 --> inactive). In short, I wanted only the red tip to jump out.

Your wrangle works great and I understand the issue, but I'm still confused on why the spreadsheet shows the correct values for the points but fail to exclude them from the simulation.

It's not a big issue, but thanks!