metaclay2

metaclay2

About Me

EXPERTISE
Freelancer
INDUSTRY
Film/TV

Connect

LOCATION
Indonesia
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

fetching the 2nd element of a vector attribute using point() May 9, 2025, 11:32 p.m.

in attribute wrangler i have this script :

@P.y = point(1, "P", @ptnum);

so I want to fetch the P attr from other object (connected to input 1). It works as expected but since the P is vector, by default i can only get the 'x' component.

I want to fetch the 2nd component of P (which is y). I tried both of these codes but they're not working :

@P.y =  point(1, "P", @ptnum).y;
or
@P.y =  point(1, "P", @ptnum)[1];

to make it works , i have to break the script into 2 lines:
vector pos = point(1, "P", @ptnum);
@P.y = pos.y;

What is the problem with those single line scripts ?

output node is not working Aug. 4, 2024, 3:49 a.m.

I have 3 simulations in DOP network (dopnet2) and trying to import the sim3 using dopimportfield.

in dopimportfield parameters :
dop network is set to : /stage/dopnet2
dop node is set to : /stage/dopnet2/smoke_out

This smoke_out is an output node connected to sim3 (simulation 3 but since the view flag is activated on sim2 , I keep getting the output from sim2 even when I explicitly connect sim3 the output node.

What is wrong ?

radial menu to set viewport Aug. 1, 2024, 10:17 a.m.

I want to create pie menu/radial menu for changing the viewport to top/left/front etc. Inside the radial menu editor, what script to use to set the viewport to orthographic top/left/front etc ?