The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
  • PySide2 Integration

    Moved python
    8
    1 Votes
    8 Posts
    3k Views
    M
    @Aeoll Additional question: I'm creating a QApplication and then a QDialog but I can't seem to close the QApplication at all when the dialog is | closed? This means even when C4D is closed normally it's still running in the background and needs to be force-quit. Any | suggestions appreciated I have the same issue with PySide. You mentioned that sole this issue. Could you Help me?
  • How to set project scale

    r20 python
    6
    0 Votes
    6 Posts
    2k Views
    r_giganteR
    @Rage if you're looking for a solution where the user is not involved, stick to the first answer where no CallButton() was considered. On the contrary using it will request the user to interact since there are no means to programmatically interact with the UI or scripting users' actions on the UI. Best, Riccardo
  • Move viewport camera from plugin

    5
    0 Votes
    5 Posts
    1k Views
    D
    wow! i love that. great job!
  • Compute the Area of an Irregular Polygon?

    Moved r20 python
    6
    0 Votes
    6 Posts
    2k Views
    r_giganteR
    Hi Bentraje, thanks for following up and sorry for coming late here. I've checked your geometry and the issue is not with the algorithm, but in both cases with the geometries you're using to compute the area who don't shown vertexes being properly "ordered". The algorithm I've briefly presented requires the vertexes to be ordered as if you're visiting them by walking on the outer edge of your n-gon or polygon in CCW or CW. It is then mandatory to generate an ordered list of vertexes before passing the data to the function to get the correct result. [image: 1553532189426-62d2c929-154a-4c85-b558-af1536d3153d-image.png] In order to come out with such an ordered list I warmly recommend you to visit the following old-threads: Get all ngons PolygonObject.GetPolygonTranslationMap() Get outer edges of each Ngon Best, Riccardo
  • One to rule them all...

    Moved
    3
    0 Votes
    3 Posts
    920 Views
    M
    HI Andreas, no worries, this question was not exclusively targeted at Maxon, the opposite is the case. I was hoping for some information by other users here, like @kbar or even @m_adam (back in the days Maxime was not associated with Maxon. ;)) Meanwhile, I'm going to build a toolchain and see what works for me. I'll report back here if I have something to show. That may help someone else.
  • Documentation Plugin

    8
    5 Votes
    8 Posts
    2k Views
    mikeudinM
    I'm trying to use this super handy plug-in to build help system for my plug-ins. Thanks for sharing this! After some days of working i have a some suggestions and bug reports. After each publishing, resulting index.html have a title tag "Plugins 4D Documentation". Is it possible to add ability inserting images with other formats like gif, jpg? Now i have to copy my images to images folder and type using markdown code like this (not showing in Preview window): ![Target 4D Move tool](images/mikeudin-target4d-feutures_5.gif "Target 4D Move tool") Preview window stops showing any text content if it contains symbol '–'. But after publishing results, final HTML is ok. Would be great to add ability to add favicon image.
  • Installing Numpy / Python

    3
    0 Votes
    3 Posts
    1k Views
    F
    @m_adam yes it solves the pb. Thanks Maxime
  • How to check if a spline is a freehand spline?

    r19 python
    3
    0 Votes
    3 Posts
    824 Views
    S
    Hello, I just want to add that an example on how check a spline can be found in the BaseObject Manual. best wishes, Sebastian
  • Cannot mark post as answer

    Moved
    17
    0 Votes
    17 Posts
    4k Views
    r_giganteR
    Hi guys, I'm finally glad to state that by upgrading the platform to a more recent version you should be able not only to mark a topic as Solved but also to select the correct post solving the thread. Please verify on your side with your next-to-come threads and in case report any unexpected behavior. Best, Riccardo
  • Cinema 4D Script: Web Search Selected Text

    4
    1
    2 Votes
    4 Posts
    1k Views
    mikeudinM
    @a_block said in Cinema 4D Script: Web Search Selected Text: I have added the "showcase" tag, so people are hopefully able to filter for your and other similar threads more easily. Great! Thank you!
  • Searching for "EventAdd()" crashes forum page

    Moved
    3
    0 Votes
    3 Posts
    866 Views
    a_blockA
    Hi, thanks for pointing this out to us. Yet, we were not able to reproduce this issue. What we found so far, when doing a search for "EventAdd()" (or anything similar resulting in a large number of results) and the search is set to show posts instead of threads, then switching between result pages can indeed take some time (at least for the first switch). During this time the page is indeed completely unresponsive and seems frozen, which is not nice. But here it always returned and showed the expected content after a bunch of seconds (I think in my tests longest was about 15 seconds). We'll keep an eye on this. Cheers, Andreas
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Plugin OnFloor - Thanks :)

    1
    1 Votes
    1 Posts
    612 Views
    No one has replied
  • 0 Votes
    3 Posts
    957 Views
    M
    Hi @SteveJLV welcome in the plugincafe community, I would like to point you to some rules: Read Before Posting. Nothing wrong here, but just in case. Q&A New Functionality. I've setup your topic correctly. As you already figured it out, you never assign a new value to the variable. In Python, everything is passed by value by default in 90% of the time. Meaning when you do x = y will actually copy y to x, so afterward if you do x + 10 it will not affect y value. If you have more questions, don't hesitate. Cheers, Maxime.
  • 0 Votes
    4 Posts
    1k Views
    a_blockA
    Hi, I'm sorry for getting back late to you. We have never done this ourselves nor have we heard of anyone. The reasons for the difference between C++ and Python API are probably historic. Also back then we had no generic concept for callbacks in Python. Now, with MAXON API and appearance of Delegates and Observables such things will probably handled much nicer in future. Maybe it were also performance considerations. Many words, for a "I don't know", sorry. In any case we'll forward this a an idea to our development, so it is at least considered for a future release. Cheers, Andreas
  • Xpresso node changes to undefined, Python workaround?

    2
    0 Votes
    2 Posts
    679 Views
    SwinnS
    Problem solved. The Volume Mesher is to blame. Putting it in a Connect object and using that as the clone object did the trick.
  • Request UAC from pyp/pypv

    Moved python
    4
    0 Votes
    4 Posts
    1k Views
    a_blockA
    Hi, no worries, the first line is so big because of a stray "=" on the next line, underlining the first to be interpreted as a heading. I'll move this thread to the General Programming & Plugin Discussions category, because in the end C4D does not provide any means to provoke UAC, nor do we deem it necessary inside our API as it is a pretty system specific thing. Yet, the discussion might lead back to C4D related questions, and then I'll either happily move it back or we'll have a new thread in the Cinema 4D Development category. In general I think, it would probably be better to convince your users to install the plugin into either the plugins folder in the "user folder" or even (assuming R20+) a completely separate directory added to the users prefs. Another thought, while definitely possible with Python, I'd say an update mechanism should change/replace files while the main application is running. After all you can not be completely sure, which files the application decides to lock at certain points off time, in which case your updater would probably run into issues. My recommendation is to rather update by restarting the main app (for C++ it's inevitable anyway). Cheers, Andreas
  • Conducting a webinar is a good idea

    Moved
    2
    0 Votes
    2 Posts
    702 Views
    a_blockA
    Hi, welcome to Plugin Café. Do you have any context? Bye, Andreas
  • Can I give my discord here?

    Moved
    3
    0 Votes
    3 Posts
    978 Views
    Passion3DP
    Yes, it will be to discuss plugins and their development. The subject of my discord is 3D, with several chat rooms dedicated to Cinema4D. I would put the invitation on my profile, instead of the website;) You can come and see if you want, here's an invitation: https://discord.gg/4SFvDa PS: If you come, let me know so that I can give you access to all the sections
  • How to deepcopy DescID?

    3
    0 Votes
    3 Posts
    1k Views
    mikeudinM
    @m_adam Thank you!