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

    problem with loading plugin in python_init.py

    Cinema 4D SDK
    2
    3
    544
    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.
    • W
      wob
      last edited by m_adam

      hello! i try to start cinema 4d, auto-load scene with python_init.py script and auto-start render-exporter. i wrote this simple script to do it:

      import c4d
      def main():
          c4d.documents.LoadFile(path_to_scene)
          c4d.CallCommand(exporter_command)
      if __name__=='__main__':
          main()
      

      works fine, but i found that if scene contains plugin "Signal", i get message "several plugins used in this project are missing (Signal)". another plugins of this scene load fine. what am I doing wrong?

      thank you!

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

        Hi @wob please make use of Q&A Functionaility and tagging system for the next time see How to post Question.
        Moreover, the python_init.py is called before any plugin registration as stated in the documentation see pytohn_init.py
        So your best bet is probably to have a PluginMessage and check for C4DPL_STARTACTIVITY.

        Regarding your question, this means you open a scene(LoadFile does it) but in this file, there is one plugin called signal (https://greyscalegorilla.com/downloads/signal/) which is not installed on your Cinema 4D version, so Cinema 4D advertise you that the scene may not work as expected.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        W 1 Reply Last reply Reply Quote 0
        • W
          wob @m_adam
          last edited by

          @m_adam it's strange, but this small script works fine without any problems with cinema 4d s22. cinema 4d r20 show this error only.

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