Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login
    1. Home
    2. Cinema 4D SDK
    Log in to post
    Load new posts
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • F

      Python: "Frame Selected" Within a Thread

      python s22 • • flewis
      4
      0
      Votes
      4
      Posts
      224
      Views

      ferdinandF

      Hi @flewis,

      sorry, there has been some mix-up with access rights, you should be now able to access the page. About your fix: It does not really matter if you do it manually or not. While you can decouple the modification of the node attributes - which is allowed from within a thread - from the redraw event, to carry out that newly computed camera transform, you still will have to invoke a redraw, which you cannot do from within your threaded environment. When you invoke such redraw event, the first thing the internal code does, is to check if its running on the main thread and if not, it just gets out. So there is not much won by doing it manually, at least for what from my understanding is the premise of your problem: To constantly frame the viewport to the object that is currently processed by your async code.

      Cheers,
      Ferdinand

    • F

      Changing material projection in takes using Python

      • • Futurium
      12
      0
      Votes
      12
      Posts
      782
      Views

      F

      Thank you @zipit
      I adopted your solution into our code and it works exactly as expected.
      Thank you for your help.
      Best regards,
      Tomasz

    • C4DSC

      Custom ColorField?

      c++ r20 • • C4DS
      5
      0
      Votes
      5
      Posts
      197
      Views

      C4DSC

      @zipit
      Thanks for the detailed info.
      Much appreciated!

    • F

      This topic is deleted!

      • • flewis
      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • D

      Triggering MatPreview update without raising dirty flags

      c++ sdk • • Deyan
      4
      0
      Votes
      4
      Posts
      154
      Views

      D

      Thanks for the effort Maxime (and rendering department). I suspected that it won't be possible, but still asked because I thought I might have missed something.

      Cheers,
      Deyan

    • fwilleke80F

      Executing Python code in C++: crash when importing c4d package

      c++ macos r23 python • • fwilleke80
      4
      0
      Votes
      4
      Posts
      116
      Views

      fwilleke80F

      I was in deed calling the code from within PluginStart(). Calling it from PluginMessage(C4DPL_STARTACTIVITY) fixed it. Thank you, Kent!

      Cheers,
      Frank

    • M

      Formula node

      • • miro novak oponice
      2
      0
      Votes
      2
      Posts
      57
      Views

      ManuelM

      hi,

      thanks for reaching us out and welcome to the forum.
      Unfortunately, as you can read in our guidlines the scope of this forum is the Cinema 4D's API only. (developing for cinema4D with c++ and python)

      For other support case/request/suggestion, please contact our regular support

      I have to remind you that the scene node is still a demo of what we are working on and is still very young.
      I also have to remind you that the node system is a base where you can create your own assets. Because it's still at a young stage, the node system is changing a lot and your asset could not be compatible anymore with futur release.

      In your example you can simply create an asset with different aggregate nodes that output all the function you need.

      In any case, your feedback is appreciated and helpful.

      Cheers,
      Manuel

    • Y

      compiling for r20 new solution

      • • Yaroslav
      4
      0
      Votes
      4
      Posts
      220
      Views

      Y

      @PluginStudent

      Thank you so much! It worked!
      Yaroslav.

    • jochemdkJ

      Issue dragging a pyTag with a message function > Type-/SystemError in R23/Python3 on both Mac&PC.

      python r23 • • jochemdk
      9
      0
      Votes
      9
      Posts
      360
      Views

      ferdinandF

      Hi @jochemdk,

      okay, I then took the liberty to close the question 😉 You can of course still post here.

      Cheers,
      Ferdinand

    • M

      Unique Object Identifier

      python • • Motion4D
      7
      0
      Votes
      7
      Posts
      375
      Views

      ferdinandF

      Hi @Motion4D,

      I am not quite sure if there will be anything in the pipeline soon, because the limitations of IDs and markers are more of principal nature due to Cinema's heavily procedural architecture; i.e., not really something that can be "fixed". If you have any particular feature in mind, I would ask you to make a separate post with a dedicated feature request.

      We however already did identify the whole "identifying and object"-thing a few weeks ago as something that is probably not explained well enough at the moment and added it to our to-do-list. There are no guarantees on when this will come though 😉

      Cheers,
      Ferdinand

    • P

      Exception: no converter found for 'net.maxon.interface.url-C[A]'

      • • pweisz
      4
      0
      Votes
      4
      Posts
      220
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • F

      (Python) Help making Pip work in Cinema 4D

      • • Fowdy
      4
      0
      Votes
      4
      Posts
      946
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • mfersaouiM

      TreeView Menu

      python • • mfersaoui
      6
      0
      Votes
      6
      Posts
      433
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • jenandesignJ

      Generating a usable spline with a Python Generator

      • • jenandesign
      3
      0
      Votes
      3
      Posts
      242
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • A

      Data to Spline

      python c++ • • allenrob
      6
      0
      Votes
      6
      Posts
      487
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • mikeudinM

      How to catch Preferences editing

      python r23 r21 • • mikeudin
      3
      0
      Votes
      3
      Posts
      104
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • S

      Sound Effector Object Mismatch / Missing / Not Working Fields (R14 (to R18 probably) and R19 comparison)

      • • SolarPH
      4
      0
      Votes
      4
      Posts
      178
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • ?

      ReferenceError when trying to Cache a GeClipMap

      python windows r23 • • A Former User
      3
      0
      Votes
      3
      Posts
      112
      Views

      ?

      @zipit Thank you very much, Ferdinand. This helped me a lot!

    • M

      Difficulty with cloners and and lifetime of objects

      • • mastergog
      13
      0
      Votes
      13
      Posts
      449
      Views

      M

      All right, thank you for all the help.

      I'll close this now.

    • ?

      Rotating a GeClipMap

      windows python sdk r23 • • A Former User
      11
      0
      Votes
      11
      Posts
      290
      Views

      ?

      @zipit Thank you for the information.