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
    1. Home
    2. kalugin
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 11
    • Best 1
    • Controversial 0
    • Groups 0

    kalugin

    @kalugin

    1
    Reputation
    51
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    kalugin Unfollow Follow

    Best posts made by kalugin

    • RE: ShowPopupDialog in SceneLoaderData

      I didn't display a dialog box, but a popup menu. I used it for drag&drop of a custom extension file. It was very convenient to prompt the user what to do with the dropped file. Anyway, I moved that logic to a messagedata plugin that gets called from the sceneloader and that way I can show the popup menu 🙂

      posted in Cinema 4D SDK
      K
      kalugin

    Latest posts made by kalugin

    • RE: Problems with Reloading Python Plugins in Cinema 4D 2024.1.0

      I've also had the same issues with an ObjectData plugin. I've also noticed a huge memory leak by simple clicking the reload python plugins button, but that could have been something from my code.

      posted in Cinema 4D SDK
      K
      kalugin
    • RE: Can you get a list of missing plugins?

      Thanks for the fast response @ferdinand . Sorry that the title of my question is somewhat misleading. The thread that you've linked is actually quite detailed and useful I'll take a closer look into that.

      posted in Cinema 4D SDK
      K
      kalugin
    • Can you get a list of missing plugins?

      Hi, is there a way to access this list via python?
      87484e4a-05d1-4742-9a86-8755549eccfb-image.png

      posted in Cinema 4D SDK python
      K
      kalugin
    • RE: Getting textures via cineware

      Thanks @ferdinand. I guess I'll have to skip on that idea 🙂 I was really hoping that there is something like .GetAllTextures or .GetAllAssets, but it seems I'm out of luck on this one.

      posted in Cineware SDK
      K
      kalugin
    • RE: Getting textures via cineware

      Thanks for the reply. Sorry for not giving more details. I want to read a .c4d file and retrieve all texture paths without opening CINEMA4D.

      posted in Cineware SDK
      K
      kalugin
    • Getting textures via cineware

      The goal is to extract all file paths used in the .c4d file. Is that possible via Cineware?

      posted in Cineware SDK sdk c++
      K
      kalugin
    • RE: ShowPopupDialog in SceneLoaderData

      I didn't display a dialog box, but a popup menu. I used it for drag&drop of a custom extension file. It was very convenient to prompt the user what to do with the dropped file. Anyway, I moved that logic to a messagedata plugin that gets called from the sceneloader and that way I can show the popup menu 🙂

      posted in Cinema 4D SDK
      K
      kalugin
    • ShowPopupDialog in SceneLoaderData

      Hi. I have a sceneloader plugin that shows a popup menu in it's Load function. Until S26 it was working fine, but in S26 I get the following error when I call it:

      result = gui.ShowPopupDialog(cd=None, bc=menu, x=c4d.MOUSEPOS, y=c4d.MOUSEPOS)
      RuntimeError:must be called from the main thread
      

      I guess this has something to do with the new task management system, but how can approach this issue?
      Thanks.

      posted in Cinema 4D SDK s26 python
      K
      kalugin
    • RE: Getting points and edges of parametric objects

      Nevermind. I figured it out 🙂 It was my mistake in the code. I made myself a helper function to initialize the ViewportSelect object, and I was initializing it with the wrong object. That's where the runtime error came from. Thanks anyway.

      posted in Cinema 4D SDK
      K
      kalugin
    • RE: Getting points and edges of parametric objects

      what if I want to code my own snapping ? How can you snap to points of parametric objects ?

      posted in Cinema 4D SDK
      K
      kalugin