Python objectData plugin attribute error



  • 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



  • 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



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

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

    Cheers,

    Adam



  • 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


Log in to reply