C4D plugin - load object possible ?



  • Hello, i'm all new here.
    i'd like to write a python plugin for C4D, but i wonder if when i'd start the plugin ( from the plugin list, and with a tag ) it can load in c4d a particular object already modeled, and also have it hidden to stay focused on the settings and sliders available in the plugin.
    my idea requires this object to be loaded automaticaly, then it plays with it for some different purposes.

    i'd need to learn python of course, enough to write this plugin, but for starters, i don't know if i'll find my way easily ..

    thank you.
    Adrien



  • Hi,

    yes, you can load objects and hide objects both from the viewport and the scene graph with the Python API. However a TagData (a tag) plugin usually isn't the right place to modify the scene graph due to its threaded execution of its core function.

    If you want to learn Python (I assume you mean the whole language and not just C4D's Python SDK) I would suggest starting with Python scripts, the Python Scripting Tag, and the Python Generator Object as these are much more straight forward then full blown plugins.

    Cheers
    zipit



  • Hi, @Xplorer do you have any example in Cinema that would have similar behavior?

    If you could explain in detail or give example especially the second part of this sentence "load in c4d a particular object already modeled, and also have it hidden to stay focused on the settings and sliders available in the plugin." it will be nice.

    Cheers,
    Maxime.


Log in to reply