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
    1. Maxon Developers Forum
    2. Cinema 4D SDK
    Log in to post
    Load new posts
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • M

      Crash with GeListHead and TreeViewFunctions SetName()

      python r20 r21 r23 • • mp5gosu
      4
      0
      Votes
      4
      Posts
      711
      Views

      M

      Hi @mp5gosu , I will set the topic as closed.

      Note that the fix will not come in the next update but don't worry we have it logged and it's on our list of things to fix in the future.

      Cheers,
      Maxime.

    • kbarK

      This topic is deleted!

      • • kbar
      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • SamirGFXS

      GetDirty(DIRTYFLAGS_MATRIX)

      • • SamirGFX
      10
      0
      Votes
      10
      Posts
      1.3k
      Views

      ManuelM

      Hi,

      sorry but, we don't have enough ressources to investigate why it have been coded that way 14 years ago and what could be the side effect on changing it.

      Cheers,
      Manuel

    • kbarK

      HandleMouseDrag for ID_GRADIENTGUI_BROWSERPRESET and ColorSwatchData::browserPresetType

      c++ r21 s22 r23 r20 sdk • • kbar
      18
      0
      Votes
      18
      Posts
      1.9k
      Views

      ManuelM

      Hi,

      Sorry about not having time to investigate the gradient part of your question. I was waiting for feedback about the color presets.
      With the new asset browser out there's no point into investigate this question furthermore.

      Cheers,
      Manuel

    • CairynC

      VariableChanged Struct is missing its maps?

      r23 c++ windows • • Cairyn
      8
      0
      Votes
      8
      Posts
      1.1k
      Views

      CairynC

      @ferdinand said in VariableChanged Struct is missing its maps?:

      TEST TEST forbidden to post?

      No, it's not

      Sorry, that's the message from the system that I got in the other thread, repeatedly. So I tried it here, and it posted without difficulty. Then I tried in the other thread again, and it worked. Then I deleted all these postings. But as the original message that I tried to post was lost to the error, I didn't bother to write it again.

      Quite strange error, haven't seen it before, and it didn't come with any explanation WHY it was forbidden to post.

    • I

      PG\ How to find polygon index

      python • • inevestenko
      5
      0
      Votes
      5
      Posts
      1.0k
      Views

      I

      Hey @ferdinand
      Thanks again! I think the question is closed

    • a_blockA

      GeDialog lacking InitValues, when docked and folded

      windows python r19 r21 r23 s24 • • a_block
      8
      2
      Votes
      8
      Posts
      1.5k
      Views

      ferdinandF

      Dear community,

      this bug has been fixed and will be integrated with an upcoming release of Cinema 4D S24 (hopefully the next one).

      Cheers,
      Ferdinand

    • B

      Get Emitter's Number of Particles and their PSR?

      r21 python • • bentraje
      6
      0
      Votes
      6
      Posts
      1.2k
      Views

      B

      Hi @ferdinand

      RE: Please note that this is not a commitment of us to do this regularly . .
      I understand. Thanks for the detailed explanation and background theory for the answer.

      Have a nice ahead!
      Will close this thread now.

    • ROMANR

      Add user data to HUD by python

      • • ROMAN
      3
      0
      Votes
      3
      Posts
      514
      Views

      ROMANR

      It’s too bad, but thank you for your answer Manuel.

    • A

      Removing color picker from ColorField

      python r20 • • aturtur
      9
      1
      Votes
      9
      Posts
      1.5k
      Views

      M

      And sorry @kbar, @C4DS, @aturtur I should have found it earlier, but after looking at how to implement it, I figured out it's already possible since R21 with the flag DR_COLORFIELD_NO_SCREENPICKER

      import c4d class MyDialog (c4d.gui.GeDialog): def CreateLayout(self): self.AddColorField(1000, c4d.BFH_LEFT | c4d.BFV_TOP, colorflags=c4d.DR_COLORFIELD_NO_SCREENPICKER) return True if __name__=='__main__': global dialog dialog = MyDialog() dialog.Open(c4d.DLG_TYPE_ASYNC, xpos=-2, ypos=-2)

      Cheers,
      Maxime.

    • P

      Method `BaseTake.SetCamera(self, takeData, camera)` does not set the camera

      r21 python • • paula.kokic
      6
      0
      Votes
      6
      Posts
      750
      Views

      ferdinandF

      Hello Paula,

      of course, I understand these restrictions, but on the other hand it is in this case hard to just guess the problem. Feel free to reopen this subject at any time.

      Cheers,
      Ferdinand

    • fwilleke80F

      Using CodeEditor_Open()

      c++ r23 s24 • • fwilleke80
      15
      1
      Votes
      15
      Posts
      2.2k
      Views

      fwilleke80F

      Hi Maxime,

      Thank you! That’s a lot to take in 🙂

      Cheers,
      Frank

    • fwilleke80F

      GetGeneralLicensingInformation() returns error

      • • fwilleke80
      5
      0
      Votes
      5
      Posts
      722
      Views

      fwilleke80F

      I already did 😉 If they didn't contact you, it strengthens my suspicion, and I can simply ignore further mails from that contact.
      Thanks!

      Cheers,
      Frank

    • B

      No save prompt after userchange

      r21 windows python • • Boony2000
      3
      0
      Votes
      3
      Posts
      516
      Views

      B

      Hi!

      Thanks for your input!

      I just found the cause.
      There is an os.kill call on the C4DPL_ENDPROGRAM message. If you leave it out some python stuff seems to keep running and preventing Cinema from being opened again. I am assuming that's why the original author did that.

      I will just catch the dirty flag myself and deal with unsaved scenes before terminating the process. Unless you know a more elegant way.

      I will mark this as solved.
      Thanks again.

      P.S.: This is off topic, but trying to reply I would always get an error and I had to log out and in again to post this.

      EDIT: I found the elegant solution - Adding c4d.documents.CloseAllDocuments() before the process termination handles the save dialogs perfectly!

    • A

      This topic is deleted!

      • • AiMiDi
      1
      0
      Votes
      1
      Posts
      11
      Views

      No one has replied

    • CairynC

      Python and the GUI Separator

      python c++ r21 r23 • • Cairyn
      8
      0
      Votes
      8
      Posts
      1.4k
      Views

      CairynC

      Good to hear, thanks!

    • fwilleke80F

      Colors on a generator

      r20 r21 r23 s22 s24 c++ • • fwilleke80
      14
      0
      Votes
      14
      Posts
      1.4k
      Views

      ferdinandF

      Hello @fwilleke80,

      without further questions or postings, we will consider this topic as solved by Wednesday and flag it accordingly.

      Thank you for your understanding,
      Ferdinand

    • César VoncC

      Falloff on Python deformer

      • • César Vonc
      4
      0
      Votes
      4
      Posts
      590
      Views

      ferdinandF

      Hello @César-Vonc,

      without further questions or postings, we will consider this topic as solved by Wednesday and flag it accordingly.

      Thank you for your understanding,
      Ferdinand

    • C

      Add menu item to existing submenu in Python

      • • Chris Chris
      7
      0
      Votes
      7
      Posts
      1.1k
      Views

      ferdinandF

      Hello @Chris-Chris,

      without further questions or postings, we will consider this topic as solved by Wednesday and flag it accordingly.

      Thank you for your understanding,
      Ferdinand

    • W

      Undo Block through Context Manager

      • • wuzelwazel
      3
      0
      Votes
      3
      Posts
      681
      Views

      ferdinandF

      Hello @wuzelwazel,

      without further questions or postings, we will consider this topic as solved by Wednesday and flag it accordingly.

      Thank you for your understanding,
      Ferdinand