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

    C4D plugin - load object possible ?

    General Talk
    3
    3
    617
    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.
    • X
      Xplorer
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand
        last edited by

        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

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 0
        • M
          m_adam
          last edited by

          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.

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

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