Jump to content

adding 2 values in same parameter


Recommended Posts

Hi,

I have a not so complex question that I couldn't figure out yet. I have a poly mesh box and I want to add the primitives facing the positive and negative X direction to a group using "keep by normals". I would like to add the prims to the group using -1 and 1 in the X parameter so ideally I would have the primitives on both sides of the box selected.

I tried typing in the X direction parameter the value:

-1 && 1

Thinking it would work but no... I tried searching HScripts and expressions but couldn't find anything yet.

What i'm getting is shown in the attached img.

How could one select 2 different directions in the same parameter of 'keep by normals' inside the group sop? Any thoughts on this are appreciated.

group_select_bynormals.png

Link to comment
Share on other sites

Hi @animatrix,

Thanks for the heads up. I thought about that, create another group node, select the opposite faces and then combine both groups. When trying to keep things streamlined, that wouldn't be ideal but for now it works.

I asked because I was trying to understand if there is any hscript or vex expression that I could use to select all prims facing the negative and positive directions by writing them in one direction parameter inside the group node.

Well, I guess i'll wait then. Cheers

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