Register Plugin during runtime

  • Hi!

    Depending on some outside factors I want to register one (or more) additional commandData plugin(s).
    When I run RegisterCommandPlugin() on a button press however, I get this error:
    EnvironmentError: cannot find pyp file - plugin registration failed

    Is it not possible to add plugins after startup/ during runtime? Or am I doing something else wrong?

  • Hi Boony2000 and thanks for reaching us.

    With regard to your question, the plugin registration can only take place during Cinema 4D start-up. Any further attempt to register a plugin on a later time is not possible and this is by-design.

    Best, Riccardo.

  • Ok, thanks Riccardo!
    I'll register them at the start then.