Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Compare String Array against @name on packed prims


First time poster (also posted on sidefx forums) ~

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)

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!!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now