Jump to content

Attribute value into parameter?


lauradangerous

Recommended Posts

Hi everyone,

I'm still a newbie at Houdini, but am building tools. Im attempting to put an attribute value into a Copy node (@randomheight), specifically the "Total Number" parameter. I figured out I can use a detail attribute (detail("/obj/geo1/Building_Generator/attributewrangle4", "randomheight", 0)) to bring a value in, but it looks like Detail attributes need to be Integers. I'm unsure how to convert my existing attribute's value @randomheight to be used as a detail, or an integer.

My best guess is somehow create a detail attribute with the value of the existing attribute @randomheight, and it needs be an integer. The attribute @randomheight is currently a point attribute float value.

Help! Thanks!

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