Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Identify GvNode out of Xpresso.

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 222 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post