You can create a compound that just calculates the value, and then let users 
plug that into a Set Data themselves or alternatively create a second compound 
that embeds the first one plus a Set Data. I've used that approach several 
times. Of course, it won't work if the calculation requires an iterative 
execution (like the curve distance/location compounds).

Another possibility is to have output ports for both the value and the set data 
execution. The "display" compounds in the Debugging category are designed like 
that.

gray

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, Joseph 
G. (LARC-E1A)[LITES]
Sent: Wednesday, July 17, 2013 12:48 PM
To: softimage@listproc.autodesk.com
Subject: RE: set data

I have a compound that I would like to be used to either apply a computed value 
to a parameter, or alternatively a value to other compounds. I was trying to 
make the compound do double duty as something useful as a standalone node vs a 
node useful to a larger tree.

--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.

From: 
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Grahame Fuller
Sent: Wednesday, July 17, 2013 12:11 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
Subject: RE: set data

No, the references must get resolved before the tree is even evaluated.

Can you say anything more about the overall problem you are trying to solve? 
There may be another way.

gray

From: 
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, 
Joseph G. (LARC-E1A)[LITES]
Sent: Wednesday, July 17, 2013 12:05 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
Subject: set data

Is there any way to make a set data node ignore a parameter that does not exist 
because the object it belongs to might not exist?

I've tried using first valid but it can't accept execute. I then tried an if 
conditional  to terminate the execute channel as an option but it does not 
appear to be able to ignore execute whether on or off.



--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.

<<attachment: winmail.dat>>

Reply via email to