trevor kerr

trevor kerr

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Compare String Array against @name on packed prims March 15, 2017, 4:20 p.m.

Thanks Thomas!

This works perfectly ~

Compare String Array against @name on packed prims March 15, 2017, 3:52 p.m.

Hello!

First time poster ~

I have a wrangle set after an assemble sop and am currently having success with:

string shatter_points = chs('Pieces_to_Break');
if(@name != shatter_points)
removepoint(0,@ptnum);

Where Pieces_to_Break can contain one name. Effectively this deletes all but the named packed primitive.

I'd like to amend this so that I can enter an array of pieces to “keep”. Any thoughts?

Thanks in advance!!