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
    • Register
    • Login

    Importing Modules (again)

    Cinema 4D SDK
    2
    3
    1.3k
    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.
    • A
      alfieB
      last edited by r_gigante

      Hi all,

      I'm very aware that there are similar threads on the old forum about this, but many contain broken links and all seem very old and from many c4d releases ago... (apologies if i'm missing something here)

      I simply want to import my own .py modules, from the same folder into my python scripts. I am developing for my own purposes only and have NO intention of creating a plugin to distribute.

      Can someone tell me how to go about this in R20?

      The IDE is fine with my imports, its only Cinema that complains.

      Thanks in advance.

      Alfie

      1 Reply Last reply Reply Quote 0
      • a_blockA
        a_block
        last edited by

        Hi,

        indeed for R20 the paths changed a bit.
        See the Python docs FAQ.

        Cheers,
        Andreas

        1 Reply Last reply Reply Quote 0
        • A
          alfieB
          last edited by

          damn. totally didn't look there. sorry.

          Alfie

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