Clone Digital Asset with parameter.

   2058   3   0
User Avatar
Member
12 posts
Joined: 7月 2013
Offline
Hi,

I'm newbie and now get stuck in an issue with for-loop node.
I made a beam (digital asset) which has a length parameter.
How can I duplicate the beam into several instances with different length ?

Thank you in advanced.
User Avatar
Member
12 posts
Joined: 7月 2013
Offline
Hi,

Maybe my question is not quite clear.

So i attached the file for you guys can review and help me find the solution.
Edited by Trung Tran - 2017年5月11日 00:02:27

Attachments:
PROC_Bridge.hipnc (81.1 KB)
beam.hdanc (4.4 KB)

User Avatar
Member
7850 posts
Joined: 9月 2011
Offline
You almost had it. Instead of “@beamheight” for the parameter value on your hda, use a point expression to get an attribute value from the input. Attributes can only be bound like that in a few built-in nodes. Everywhere else use a point/prim/detail expression.

Attachments:
PROC_Bridge_edit.hipnc (81.1 KB)

User Avatar
Member
12 posts
Joined: 7月 2013
Offline
jsmack
You almost had it. Instead of “@beamheight” for the parameter value on your hda, use a point expression to get an attribute value from the input. Attributes can only be bound like that in a few built-in nodes. Everywhere else use a point/prim/detail expression.
Thank you. I made it with some approaches. One is using ForEach Loop and one is use stamp function and copy SOP.
And thank you for your help.
  • Quick Links