Jump to content

Expressions and workflow


hou_noob

Recommended Posts

Hi all

I need to divide some points based on a pscale attribute.

1) less than .3 , pscale =0

2) 0<pscale<.6, pscale =.6

3)else pscale =1.0

I tried to use 3 point nodes with expressions. First one is easy.

if ($PSCALE<.3),0, $PSCALE. But how do you do compound expressions .like

0<pscale<.6 or

Pscale<.6 and pscale >0

Another workaround was to use a group node and delete nodes for each case. But it not elegant

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.

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