Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Accessin a other plugins member variables

    SDK Help
    0
    4
    373
    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
      Helper
      last edited by

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

      On 18/09/2004 at 15:12, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.206 
      Platform:      
      Language(s) :     C++  ;

      ---------
      My plugin i am creating uses a linked list to hold information about certain objects. The linked list is a public member variable of a Object Data plugin.

      Now I would like to be able to access this link list from another plugin I develope, but im not sure how I can access the linked list from the other plugin.

      Any ideas?

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

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

        On 18/09/2004 at 18:46, xxxxxxxx wrote:

        You could define your class in the other plugin and just cast it from the retrieved plugindata ( I thinks ). As I have told others, unless it is repeated insane speed issue use messaging. Simple, effective, and works. Of course you have to create a message for this to work. I use a BaseContainer for data and store the message function id in there as element 1000 and pass back info through BaseContainers only. Never had a problem.

        darf

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

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

          On 18/09/2004 at 19:38, xxxxxxxx wrote:

          Yeah I can second that. Use messaging in my plugins too and it´s a fast and easy way to exchange data.

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

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

            On 19/09/2004 at 03:08, xxxxxxxx wrote:

            Thanks guys. Two good minds suggest messaging. I'll see what I can cook up!

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