Jump to content

Keep Parameter upper range value below another value


AlbusNolente

Recommended Posts

Hi everyone,

Maybe the title isn't accurate. Basically, I'm editing the parameter interface of a tool I created, it consists of a main building and a terrace, I want to say to Houdini that I want to keep the maximum value of the slider that controls the number of floors of the terrace always below the value of floors of the main building. Also, if the user tries to give to the terrace a value bigger than the main buildng floors, it has to go back to the value buildingFloors-1 . How can I achieve that?

Example:

buildingFloors = 7

terraceFloors = 4

if I try to set terraceFloors = 9 it must set itself to terraceFloors = 6

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