Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    Multiselect with LoadDialog() and importing module

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 361 Views
    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.
    • H Offline
      Helper
      last edited by

      On 14/09/2017 at 03:45, xxxxxxxx wrote:

      Hey everyone,
      by looking through the forum I noticed that it isn't possible to multiselect using LoadDialog(), which is weird given that you can drag and drop multiple szenes into Cinema to actually open multiple scenes.

      So I tried to add Tkinter to \library\python\packages\win64, but simply copying the lib-tk folder from that python version didn't work:
      ImportError: No module named Tkinter

      However in that Folder actually is a Tkinter.py

      So far I have only imported modules in my scripts that come with Cinema and since I'm a scripting beginner and have never scripted outside Cinema, I'm kind of lost on how to make it work.
      So if someone knows how to make it work, I'd be really thankfull

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 15/09/2017 at 08:18, xxxxxxxx wrote:

        Hi Thor, thanks for writing us.

        Unfortunately i can't be of any relevant help since we're not supposed to support external packages. I instead encourage to look into the following thread where using external python libs (mostly about Numpy) in Cinema has been discussed extensively.

        • Python Libraries (eg Numpy, PIL etc...) & Cinema4D
        • Installing numpy
        • Numpy Revisited for R18 (Simple)

        Best, Riccardo

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