Identify GvNode out of Xpresso.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 27/11/2012 at 03:31, xxxxxxxx wrote:

    Hi,

    i have used the forum search on this, but it didn't come up with an answer. So i have to ask now :)

    1. I have got a Xpresso node (a Xgroup) with some UserData on it.
    2. I want to acess these user data from a python Xpresso node and therefor need the node itself.
    3. I do not want the user to drag and drop something.
    4. Xpresso nodes have no Object/Reference port, so you cannot grab the object from there.
    5. I am aware of the fact, that i can drag the GvNode attributes from the AM into the GraphView and access the user data one by one.
    6. I know how to use GvNodeMaster to get the master node and then iterate through the GeListNodes.

    The node name is obviously not safe identification property, so i am either looking for a method 
    which can return the GvNode through the backdoor (some UserData that can return their Op / the
    GetOperatorID()), or another way to identify a node.

    Thanks for your help in advance.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 27/11/2012 at 06:49, xxxxxxxx wrote:

    nevermind, got it. ran into the old object node trap :)

    objectnodes hide their object node output port for some unknown reason, as soon as they
    got a reference. so to solve this :

    1. create object node
    2. add object ouput port
    3. drag Xpresso node settings from the am into it.
    4. use the object link


Log in to reply