Jump to content

strcasematch not working with delete SOP [SOLVED]


Recommended Posts

Hello,

I've got an alembic archive that i'm trying to separate the groups into single objects so i've set them to be imported as one single geometry node with Path attribute enabled. After using an objectmerge in a new geo node and using a delete SOP with the expression "strcasematch("*R_SideHatch*", $PATH)" I should get any primitives within that group but i'm getting nothing, what am I missing? A full path attribute string consists of something like this "/R_SideHatch_Grp/Side_Hatch_001_/Side_Hatch_00Shape1"

I'm sure there's an obvious quick solution to it but i'm quite new to Houdini and Python.

Any help is appreciated.

stringmatch.hip

Edited by shadowst17
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.

Guest
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...