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
    • Recent
    • Tags
    • Users
    • Login

    Python objectData plugin attribute error

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 310 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

      On 03/06/2014 at 04:26, xxxxxxxx wrote:

      Hi everyone,

      I'm having a go at up-ing my game from python scripts to plugins, plenty of things to get my head around but one thing in particular I can't see making any sense.

      I have created my interface for an objectData plugin via the .res file. I have a set of sliders which I can see working in the GUI, I can set values to them via my plugin and port values out via xpresso. The problem is when I go into a python script. I can access the parameters for the first two sliders but the third one is not recognised. It's completely working otherwise, can anyone see what I have missed? As far as I can see the .res .str and .h file are all correct as the sliders wouldn't be working in the first place otherwise.

      ![](http://s8.postimg.org/nqttw6dl1/cant_See_Attribute.jpg)
      

      Any help appreciated,

      Thanks,

      Adam

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

        On 03/06/2014 at 08:03, xxxxxxxx wrote:

        Hi Adam,

        it's a problem with the symbolcache. Search for that word here in the forum, there are plenty
        of topics about it.

        Cheers,
        -Niklas

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

          On 03/06/2014 at 08:20, xxxxxxxx wrote:

          Amazing thanks!  - I'm taking the easy way out for now.

          Cheers,

          Adam

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

            On 03/06/2014 at 22:00, xxxxxxxx wrote:

            I prefer using my c4ddev module to parse the symbols and put the in a JSON file. I never bother
            with the symbolcache. (Note: You won't need c4ddev has a module to import in your plugin)

            https://github.com/nr-tools/c4ddev

            Cheers,
            -Niklas

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