ryoji

ryoji

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

pcsegment. How is it supposed to work? Jan. 1, 2020, 2:16 p.m.

I am trying to used pcsegment that is new VEX function from h18.
https://www.sidefx.com/docs/houdini/vex/functions/pcsegment.html [www.sidefx.com]

int [] pcsegment(<geometry>geometry, string PChannel, vector P0, vector P1, float max_distance, int maxpoints)

I thought it just collects points around the line between P0 and P1 vectors but the most of the case, it collects points only around either P0 or P1. I found it works expectedly only when the angle between vector ((0,0,0) to P0) and vector (P0 to P1) is close to 90 degrees.

I am just curious if it is the correct behavior or bug.


h18.0.287. Linux Mint.

Thanks,
Ryoji

Callback Script and Current Parm June 5, 2017, 12:29 p.m.

Oh yeah! I totally forgot kwargs or kwargs.

Thant works for something I want.

Thanks a lot,
Ryoji

Callback Script and Current Parm June 5, 2017, 3:13 a.m.

Hi,

Does anyone know how I can get current parm on Callback Script? Doesn't look hou.evaluatingParm() works on Callback. And I don't wanna specify the parameter name like hou.pdw().parm(“something”)

for example, I just want to print current value whenever the parameter changed or printing button name when I press the button.


Thanks,
Ryoji