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
    • Recent
    • Tags
    • Users
    • Register
    • Login
    1. Maxon Developers Forum
    2. Tags
    3. python
    Log in to post

    • All categories
    • B

      Print to Console for the Python Node in the Expresso Editor?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      4
      0 Votes
      4 Posts
      693 Views
      B
      Gotcha. Thanks for the reminder!
    • W

      Get active object after random value

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r19
      8
      0 Votes
      8 Posts
      1k Views
      W
      @m_magalhaes said in Get active object after random value: The problem here is that Message() is called before Main() (nothing you can changed) Hello. Thank you so much. I've understood. Yea, it works. I'd break my mind to understand it by myself. So, then I gonna optimize drawcalls (don't know how to call it another) of LaunchUpdate() func
    • B

      Add Object Output Parameter of a Node

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      6
      0 Votes
      6 Posts
      1k Views
      M
      This issue is now fixed in R21. Cheers, Maxime.
    • B

      Dragging of Parameters to Viewport

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      6
      0 Votes
      6 Posts
      774 Views
      B
      @m_adam Gotcha. Thanks for the confirmation.
    • mfersaouiM

      Limit the number of executions of an object plugin.

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      5
      0 Votes
      5 Posts
      957 Views
      mfersaouiM
      @s_bach Sorry, I just saw your message. the replies notifications was disabled. Thank You!
    • B

      Limit the doc.SearchObject() on the source document?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      5
      0 Votes
      5 Posts
      688 Views
      B
      @m_adam I have a handful of doc.SearchObject() so I was looking for an easier route. I guess there is no way around it except concatenating strings. Anyhow, thanks for the code and confirmation. Will tag this thread as closed. Have a great day ahead!
    • J

      FBX Export plugin option setting with python

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      3
      0 Votes
      3 Posts
      2k Views
      J
      Thank you @m_adam I completed my exporter scripts to your help. I read Links, I will tagging next time. I'm studing c4d scripts. it still hard. Thank you again.
    • B

      Unusual Remove() Results

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      4
      0 Votes
      4 Posts
      949 Views
      ManuelM
      hello, just a step to confirm @C4DS answer and if you look again at @r_gigante answer in this post it will make now fully sense. regarding your code i will go like this just to be a bit shorter and easier if i want to add or remove a tag from the list. safeTagList = [5617, 5600, 1604] tags = node.GetTags() for tag in tags: if tag not in safeTagList: tag.Remove() Cheers Manuel
    • S

      Getting Tag by name

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      4
      0 Votes
      4 Posts
      983 Views
      S
      @m_magalhaes Oh yeah I forgot to add the tags. I'm using Python by the way. You can count this post as solved.
    • B

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

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      3
      0 Votes
      3 Posts
      741 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.
    • S

      Moving\Deleting nodes with Python

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      3
      0 Votes
      3 Posts
      970 Views
      S
      Works perfectly. Thanks!
    • indexofrefractionI

      Plane by Python Generator

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      18
      0 Votes
      18 Posts
      4k Views
      M
      Yes, I'd like to see it of course. Maybe you can share it via Github so others can for and contribute to it.
    • P

      Current State to Object of a Subdivision Surface

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      2
      1
      0 Votes
      2 Posts
      877 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.
    • P

      Undo's and SendModelingCommand

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      2
      0 Votes
      2 Posts
      411 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.
    • FlavioDinizF

      Close any C4D Window

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      7
      0 Votes
      7 Posts
      2k Views
      ManuelM
      hello, thanks a lot for posting your solution here. Cheers Manuel.
    • M

      QuickTabCustomGui.GetData() is None

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      7
      0 Votes
      7 Posts
      2k 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 : )
    • M

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

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      3
      0 Votes
      3 Posts
      752 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

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      4
      0 Votes
      4 Posts
      1k 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
    • M

      SET DTYPE_VECTOR4D VALUE

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      2
      0 Votes
      2 Posts
      653 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.
    • B

      Set Vector Y to 0 (in World Space)

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      4
      0 Votes
      4 Posts
      914 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!