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
    • P

      Storing node data in a Tag plugin

      r20 python • • pim
      8
      0
      Votes
      8
      Posts
      276
      Views

      P

      @zipit, thanks for this extra information!
      Indeed my assumption is / was that Write is only called, when you save the scene file.

      -Pim

    • B

      More Examples for GeUserArea?

      r21 python • • bentraje
      6
      0
      Votes
      6
      Posts
      395
      Views

      B

      Hi @zipit

      Apologies for the late response.
      Your code sample looks interesting. And yep, close to what I was looking for. Stacking columns of clickable images/text
      I keep looking back at it every now and then but I have to admit, it's beyond me at the moment really beyond me at the moment.

      Maybe I was just a bit spoiled with other GUI interface such as tkinter or PyQT, where it is relatively easy to implement.
      Just copy some code and modify some parts. Or maybe there are just more available examples in tkinter and PyQT that fits my need.

      Will get back to this topic when I have the necessary skillset.
      Sorry for the trouble and thanks again.

    • KantroninK

      Transform coordinates of a polygon's points

      • • Kantronin
      3
      0
      Votes
      3
      Posts
      479
      Views

      KantroninK

      Indeed, it is necessary to use two matrices
      For an object named polygonName, we will have:

      Matrix = polygonName.GetMg () inverseMatrix = ~ Matrix

      Matrix converts local coordinates to global coordinates.
      After finishing working in global coordinates, we return to local coordinates with inverseMatrix
      We can thus modify the polygon with the new local coordinates.

      These two matrices allow to work with the points, which is very convenient.

      This subject is very well explained here:
      Link

    • F

      AdditionalCompileOptions breaks any plugin

      • • Fritz
      6
      0
      Votes
      6
      Posts
      402
      Views

      F

      Thx for the answers,

      @Manuel I was just trying to set some library specific defines. I tried with a random define text and it breaks plugins.

      @Kent I will try that, thank you.

      Shouldn't it however also work how I did it?

      Regards
      Fritz

    • O

      python combobox get current value

      r21 r20 r19 python • • OllyFJ
      4
      0
      Votes
      4
      Posts
      314
      Views

      ManuelM

      Hello,

      For your next threads, please help us keeping things organised and clean. I know it's not your priority but it really simplify our work here.

      Q&A New Functionality. How to Post Questions especially the tagging part.

      I've already done for this thread.

      I can just confirm what @zipit said. Nothing to add 🙂

      Cheers,
      Manuel

    • KantroninK

      Objects created in real time

      python r19 r21 r20 • • Kantronin
      6
      0
      Votes
      6
      Posts
      319
      Views

      ManuelM

      Hello,

      For your next threads, please help us keeping things organised and clean. I know it's not your priority but it really simplify our work here.

      Q&A New Functionality. How to Post Questions especially the tagging part.

      @zipit and @Cairyn have already answer here (thanks a lot) nothing to add.

      Cheers,
      Manuel

    • mfersaouiM

      Bake Texture within ObjectData

      • • mfersaoui
      13
      0
      Votes
      13
      Posts
      490
      Views

      mfersaouiM

      @m_adam said in Bake Texture within ObjectData:

      bakeBmp = c4d.bitmaps.MultipassBitmap(512, 512, c4d.COLORMODE_RGBf)

      This example helped me a lot. Thank you so much.

      Regards,
      Mustapha

    • A

      ID_MODELING_LOOP_TOOL still broken ?

      r20 • • arsen
      4
      0
      Votes
      4
      Posts
      234
      Views

      A

      @m_adam
      Anyway, thanks for your time!

    • KantroninK

      How to print in the console ?

      • • Kantronin
      3
      0
      Votes
      3
      Posts
      203
      Views

      KantroninK

      I used the frame of your code to make plugins from scripts that I wrote, and now I can send my results to the console.
      Thanks

    • P

      Storing a part of the hierarchy

      r20 c++ • • pim
      20
      0
      Votes
      20
      Posts
      448
      Views

      P

      Thanks for all the support.
      I will use all the knowledge gained and start testing.
      I am sure, I will be back with more questions.

      -Pim

    • A

      Custom Object Icon in R21 python

      python • • affa
      2
      0
      Votes
      2
      Posts
      173
      Views

      M

      Hi @affa

      May I ask you in which context you are?

      Can you share your code?
      Did you take a look to the py-custom_icon.pyp plugin example.

      Cheers,
      Maxime.

    • P

      IsolateObjects question

      r20 python • • pim
      7
      0
      Votes
      7
      Posts
      173
      Views

      P

      Aha, thanks.

    • fwilleke80F

      Python plugin priority

      python • • fwilleke80
      3
      0
      Votes
      3
      Posts
      164
      Views

      fwilleke80F

      OK, thanks!

    • D

      Is CalculateVisiblePoints() useable?

      c++ r20 sdk • • d_schmidt
      3
      0
      Votes
      3
      Posts
      185
      Views

      D

      Thank you, Riccardo. That was exactly what I was doing wrong.

      Dan

    • G

      Set Knot Value of RangeData, bug?

      r19 python • • gsmetzer
      3
      0
      Votes
      3
      Posts
      161
      Views

      G

      Thank You,
      How embarrassing I forgot to write back to the UserData. (I shouldn't code late at night) Solved.

    • P

      Cloner with multi-instance

      c++ r21 • • peterakos
      4
      0
      Votes
      4
      Posts
      263
      Views

      ManuelM

      hello,

      without further addition on your part, this thread will be considered as solved tomorrow.

      Cheers,
      Manuel.

    • mfersaouiM

      Cloth Surface object ID name

      sdk c++ • • mfersaoui
      4
      0
      Votes
      4
      Posts
      243
      Views

      ManuelM

      hello,

      up to version R20 you can use GeGetVersionType but this have been removed with the version R21 (we only have one package now)

      With the version R21 follow you have several functions see this page

      to check the version you can check for API_VERSION

      #if API_VERSION > 20999 ApplicationOutput("this is a message"); #else GePrint("this is a message"); #endif

      Cheers
      Manuel

    • CairynC

      Any reason SceneHook is still not supported by Python?

      sdk r21 python • • Cairyn
      3
      0
      Votes
      3
      Posts
      219
      Views

      CairynC

      @m_adam Thanks, yes, you're right, a timer may be my best choice here to avoid too much load on the system. Checking the project list every 3 seconds or so should suffice for the usecases. And since I'm in a GeDialog, the timer function is easy to implement.

      (I just have to take care that within the 3 seconds, the state of the dialog may be inconsistent with the actual system state.)

    • B

      Keyframe Selection Code from Cineversity

      r21 python • • bentraje
      3
      0
      Votes
      3
      Posts
      151
      Views

      B

      @zipit

      Thanks for the clarification.
      Yea, I guess so but just learning as much as I can.

      Thanks again!

    • A

      AddUndo() for MergeDocument() ?

      • • arsen
      16
      0
      Votes
      16
      Posts
      592
      Views

      ManuelM

      hi,

      nice, feel free to share your solution and mark this thread as solved.

      Cheers,
      Manuel