Jump to content

Compare String Array against @name on packed prims


Recommended Posts


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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...