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

      Moving\Deleting nodes with Python

      python r20 • • sheilan
      3
      0
      Votes
      3
      Posts
      380
      Views

      S

      Works perfectly. Thanks!

    • rsodreR

      Hide tag from host object's tabs

      c++ r19 • • rsodre
      3
      0
      Votes
      3
      Posts
      221
      Views

      rsodreR

      @m_magalhaes Ok, thanks

    • D

      Getting Dependence of Object

      c++ r20 • • d_schmidt
      3
      0
      Votes
      3
      Posts
      274
      Views

      ManuelM

      hello,

      this topics will be considered as resolved if you have nothing to add.

      Cheers
      Manuel

    • B

      Prevent GetClone() to copy the tags attached on the object?

      r20 python • • bentraje
      3
      0
      Votes
      3
      Posts
      273
      Views

      B

      Thanks for the @r_gigante response.
      I'll stay away from the non-official method. Is this the reason why COPYFLAGS::PRIVATE_NO_TAGS is not included in the Python documentation of the GetClone() method?

      I'll use the clone everything then remove tags methodology instead.

    • V

      Signal for actual closing C4D (not C4DPL_ENDPROGRAM)

      c++ • • victor
      2
      0
      Votes
      2
      Posts
      262
      Views

      M

      Hi @victor, C4DPL_ENDPROGRAM is called really at the end of Cinema 4D just before it quits. It's most likely that you search for C4DPL_ENDACTIVITY which is sent before any PluginEnd so it's the place to free the resources.
      For more information see Plugin Functions Manual: Shutdown.

      If you have any questions, please let me know.
      Cheers,
      Maxime.

    • P

      Undo's and SendModelingCommand

      r20 python • • pim
      2
      0
      Votes
      2
      Posts
      185
      Views

      M

      Hi @pim only UNDOTYPE_NEW is needed.

      Moreover, I would like to mention that SendModelingCommand offers the MODELINGCOMMANDFLAGS_CREATEUNDO flags in order to automatically creates undo.

      Cheers,
      Maxime.

    • A

      Frame selected objects correctly in camera

      python r19 • • AndreAnjos
      13
      0
      Votes
      13
      Posts
      1.1k
      Views

      r_giganteR

      Thanks a lot @AndreAnjos for sharing the code.

      I'll try to have a look at it and maybe contribute if/where needed. For the time being I'm glad to hear that you were able to tackle with it.

      Cheers, Riccardo

    • B

      Access Object Manager Fold and Unfold?

      r20 python • • bentraje
      6
      0
      Votes
      6
      Posts
      1.6k
      Views

      B

      Thanks for confirmation @Cairyn and @r_gigante

      Sorry for being picky. Just had some muscle memory from other softwares that wanted to port to C4D.
      Anyhow, will settle for the Ctrl+LMB as specified by @Cairyn

      Thanks again have a great day ahead!

    • B

      Set Vector Y to 0 (in World Space)

      r20 python • • bentraje
      4
      0
      Votes
      4
      Posts
      331
      Views

      B

      @Cairyn and @r_gigante

      RE: BUT: This world matrix is already part of the object that contains the points. Now your points have applied the matrix twice, first through the object and then through this multiplication.

      Thanks for the clarification.

      Works as expected. (And I agree, I owe you a beer Cairyn hehehe).

      Have a great day ahead!

    • C4DSC

      From edge to polygons

      c++ r19 r20 • • C4DS
      5
      0
      Votes
      5
      Posts
      420
      Views

      C4DSC

      @C4DS said in From edge to polygons:

      storing a pair of (4 * polygon + edge) values

      ... it will be.
      Thanks for the confirmation

    • M

      QuickTabCustomGui.GetData() is None

      r20 python • • mike
      7
      0
      Votes
      7
      Posts
      644
      Views

      M

      @m_adam thank you for your answer😊 from the code, it similar to what i already try, but this way looks like not a perfect solution. actually after read most c4d gui sdk and write some examples, i think maybe c4d should update gui model? sometimes it not flexible. just my personal thoughts, don't mind : ) expect python 3.x and pyside2 coming : )

    • P

      Current State to Object of a Subdivision Surface

      python r20 • • pim
      2
      0
      Votes
      2
      Posts
      494
      Views

      P

      @pim said in Current State to Object of a Subdivision Surface:

      SendModelingCommand

      Oops, I see Subdivision Renderer setting and not Subdivision Editor setting is taken into account.

    • rsodreR

      Project World Axis

      c++ r20 • • rsodre
      7
      0
      Votes
      7
      Posts
      1.6k
      Views

      rsodreR

      I found my problem.
      When the workplane is transformed, any new object will be created with it's matrix.
      Since I'm using handles on a modifier, and was using the generator's matrix do draw (I don't need the modifier transform), the handles was being drawn with the added workplane transform.

    • rsodreR

      MULTISTRING field size and font

      • • rsodre
      5
      0
      Votes
      5
      Posts
      337
      Views

      rsodreR

      As for SCALE_V, this normally works... but all groups above the GUI element need to have the same property

      Nice! Thanks!

    • M

      How to identify and access a CTrack using it's ID "CTsound"

      python r20 • • mafster
      3
      0
      Votes
      3
      Posts
      229
      Views

      S

      Hello,

      just for your information: you find more about CTracks in the CTrack Manual and more information on DescIDs and DescLevels in the DescID Manual.

      best wishes,
      Sebastian

    • G

      Updating Polygon Selection Tag

      python • • Graeme
      4
      0
      Votes
      4
      Posts
      815
      Views

      r_giganteR

      Hi @Graeme, thanks for reaching out us.

      With regard to your request, aside from the @mp5gosu notes I'd like to point you to this discussion where SelectionTag creation is presented.

      Feel free to come with any further consideration.

      Best, Riccardo

    • B

      Make objects to be at the end of the hierarchy list?

      r20 python • • bentraje
      8
      0
      Votes
      8
      Posts
      507
      Views

      r_giganteR

      Hi @bentraje, thanks for reaching out us.

      With regard to your question, there's no "straightforward" method delivered, either in Cinema 4D Python API or C++ API, tailored to this specific scope but rather using the approach proposed by @Cairyn is the way to go (and personally I don't find anything clunky).

      With regard to the GeListNode::Remove() as reported in the documentation it's just responsible for removing a node from a list and in C++ it's also return the object's ownership to the caller freeing Cinema 4D from being responsible to dispose that resource.

      Best, Riccardo

    • M

      SET DTYPE_VECTOR4D VALUE

      r20 python • • mike
      2
      0
      Votes
      2
      Posts
      229
      Views

      r_giganteR

      Hi @mike, thanks for reaching out us.

      With regard to the issue reported, I confirm that it's known bug and there is no current workaround.

      A bug fix will be delivered in the future.

      Regard, Riccardo.

    • M

      This topic is deleted!

      • • marcelobruno
      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • B

      Identify the Return Objects from the Built-in Plug-in Tool

      r20 python • • bentraje
      3
      0
      Votes
      3
      Posts
      228
      Views

      B

      RE: there is no way to retrieves the created object from the built-in Tool
      Thanks for the confirmation

      RE: SendModelingCommand/MCOMMAND_MIRROR.
      Correct me if I'm wrong but this works only on polygon objects. I'm mirroring a joint chain rather than a polygon object.

      Is there a way around this?

      Thank you.