shadowst17 Posted August 12, 2016 Share Posted August 12, 2016 (edited) 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 August 12, 2016 by shadowst17 Quote Link to comment Share on other sites More sharing options...
3dome Posted August 12, 2016 Share Posted August 12, 2016 strcasematch("*R_SideHatch*", @path) @attribute is the way to call attribs if you don't have a local variable 1 Quote Link to comment Share on other sites More sharing options...
shadowst17 Posted August 12, 2016 Author Share Posted August 12, 2016 1 hour ago, 3dome said: strcasematch("*R_SideHatch*", @path) @attribute is the way to call attribs if you don't have a local variable Awesome! Thanks for the help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.