cdesign
06-11-2007, 06:59 PM
I'm wondering if it's possible to create what I would call a custom 'function' in XPresso?
What I'm want to do is create a single XPresso script that contains a complex calculation (with three inputs and one output) and then use that script in many other XPresso scripts.
Now.. I've already tried to do this by creating an XPresso script (attached to a null object) and adding my own inputs and output to the root XGroup of the script. I then drag the XPresso tag that contains this 'function' script into another script (attached to an different object). This creates an Object node that references my custom script. I can then add input ports to this Object node for my three custom input values, but I don't seem to be able to add a port for my custom output -- it just doesn't show up in the contextual menu. Am I doing something wrong or am I just not understanding how XGroups can be connected?
thanks. john
What I'm want to do is create a single XPresso script that contains a complex calculation (with three inputs and one output) and then use that script in many other XPresso scripts.
Now.. I've already tried to do this by creating an XPresso script (attached to a null object) and adding my own inputs and output to the root XGroup of the script. I then drag the XPresso tag that contains this 'function' script into another script (attached to an different object). This creates an Object node that references my custom script. I can then add input ports to this Object node for my three custom input values, but I don't seem to be able to add a port for my custom output -- it just doesn't show up in the contextual menu. Am I doing something wrong or am I just not understanding how XGroups can be connected?
thanks. john
