Jump to content

Search the Community

Showing results for tags 'group membership'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 1 result

  1. In a point wrangle I create a new group, say mynewgroup, and set membership of it based on some criterion. Later in the wrangle I want to test for membership of that new group. I can't use inpointgroup because that looks backward to the previous node, where the newly created group doesn't exist. So, instead I use if(@group_mynewgroup) { WHATEVER } to test for a point's membership of the new group mynewgroup. To use @group_ syntax I need to hard code the mynewgroup into it. What if the name of the new group depends on the outcome of some code inside the wrangle so that I need to create the new group name on the fly? I'd like to be able to use something like string newgroup = concat('group_', 'mynewgroup'); if(@newgroup) { WHATEVER } I know this particular code doesn't do it but is there something along these lines that I could use?
×