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

      C4D Crashes on Getting All Specific Type of Objects

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      4
      0 Votes
      4 Posts
      541 Views
      B
      @zipit Thanks for the response and clarification. Works as expected @m_magalhaes Sorry about that. Will be more careful next time.
    • F

      Check object (poly) intersect

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      7
      1
      0 Votes
      7 Posts
      2k Views
      ManuelM
      @fwilleke80 as i mention in the other post, the problem (at least with our raycolider) is that if your ray hit an edge, it will hit 2 polygons at the same time. If it hit a point, it will hit <number of polygons attached to that point> times. It can be good enough but you have to be careful if you really want something solid. Cheers Manuel.
    • mfersaouiM

      Moving a group of spline points

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python sdk
      3
      1
      0 Votes
      3 Posts
      540 Views
      ManuelM
      hello, happy you found your solution, and thanks for the feedback Cheers Manuel
    • A

      Add Position Velocity Port

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r19 python
      7
      0 Votes
      7 Posts
      1k Views
      A
      @m_magalhaes said in Add Position Velocity Port: Hello, Sorry for the late reply. This was a bug (with other ports also) and it's fixe for the next release. Cheers Manuel @m_magalhaes Ah OK! Thanks for lettings us know!
    • P

      Undo of inserting a tag

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      4
      0 Votes
      4 Posts
      544 Views
      S
      Also, if you want to move a tag, you first have to remove it from the original object. So you don't insert, you change the position of the tag in the scene graph. doc.StartUndo() doc.AddUndo(c4d.UNDOTYPE_CHANGE, tag) tag.Remove() op.InsertTag(tag) doc.EndUndo()
    • B

      Change an attribute from a dialogue plug-in

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      12
      0 Votes
      12 Posts
      1k Views
      B
      @s_bach RE: You have to find a way to avoid that unnecessary rebuild of your layout after user interaction in your dialog. I'm not really sure how to do that. Since I just butchered the code from a sample plug-in. That will probably a problem for another thread. Anyway, it's functional at the moment. I'll settle for this. Thanks again and sorry for the trouble. Will close the thread now. Have a great day ahead!
    • P

      Tag plugin and rendering

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      3
      0 Votes
      3 Posts
      415 Views
      S
      Hello, without seeing your code or any error message it is impossible to give any advice. But "works in viewport but not in rendering" sounds like you are using c4d.documents.GetActiveDocument() somewhere. See also BaseDocument Manual. best wishes, Sebastian
    • mfersaouiM

      Set the "DrawCircle" orientation to face camera

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      5
      0 Votes
      5 Posts
      649 Views
      mfersaouiM
      @m_magalhaes Thank you. I made some changes but its work! Cheers, Mustapha
    • mfersaouiM

      How to get the current viewport shading modes using python

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python sdk
      5
      0 Votes
      5 Posts
      788 Views
      mfersaouiM
      @s_bach Thank you. Sorry for tags, I added tags in my topic but were not included. I don't know why.
    • B

      Hide a specific object in a specific viewport but not in others?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      9
      0 Votes
      9 Posts
      2k Views
      ManuelM
      Hello, This thread will be considered as solved tomorrow unless you have something to add ? Cheers, Manuel
    • ferdinandF

      GetPointOneRingPoints() unexpected behavior

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK windows python r20
      4
      1
      1 Votes
      4 Posts
      1k Views
      ferdinandF
      Ok, thank you. I was a bit unsure what "one ring points" are supposed to be and if this is actually a bug and not a feature Cheers, zipit
    • V

      Camera animation to Text file?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      3
      0 Votes
      3 Posts
      977 Views
      V
      This is a great start - will defiantly be using this to get closer to the desired end result Thanks so much Manuel for your help!
    • B

      Unusual Dynamic Inputs from GeDialog

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      3
      0 Votes
      3 Posts
      427 Views
      B
      @m_adam Thanks for the help. Works as expected. Have a great day ahead!
    • I

      Beginner:How to assign A-material to B-cube by python?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      5
      1
      0 Votes
      5 Posts
      2k Views
      ManuelM
      hi @cinamatic , You should open a new thread for your question as it is not related to this thread. I found this thread where you will find some useful information about takes and material. If you have any question, please open your own thread explaining what you are trying to achieve and pointing to those different threads. Futur user will find every information to follow the discussion. Cheers, Manuel
    • J

      API questions

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      3
      0 Votes
      3 Posts
      702 Views
      J
      @m_adam thanks so using c4d.documents.SaveDocument the window is still showing up.. even with "SAVEDOCUMENTFLAGS_NONE" or "SAVEDOCUMENTFLAGS_AUTOSAVE" could it still be showing up because of an error in the file path its trying to save to or something like that?
    • I

      Beginner:How to set A cube as the child of B cube by python?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      3
      1
      0 Votes
      3 Posts
      963 Views
      I
      @m_adam Thanks a lot, great help, I will try your way
    • I

      [python] SetFont not working

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 sdk python
      6
      0 Votes
      6 Posts
      2k Views
      I
      @m_adam said in [python] SetFont not working: In which version are you? The code I posted is working nicely in R20.059. 20.059. Before i tried any methods, that's my fail. Not work for me. From new start of c4d. - it works
    • P

      Generator Plugin update while under Fracture Object

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      4
      0 Votes
      4 Posts
      880 Views
      ManuelM
      Hello, Sorry for the delay. The bugs have been confirmed and will be fixed on a futur release. Cheers Manuel
    • I

      Beginner:How to set axis to the bottom of a cube by python?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      6
      2
      0 Votes
      6 Posts
      2k Views
      M
      @ilad Well, it's not limited to non-animated objects. As @r_gigante posted, you're actually modifying the points and the matrix. Both operations can also be achieved manually. So, no difference if animated or not. The only thing you have to keep in mind when modifying animated objects is to make sure, all keys containing Matrix/PLA data have to be handled as well.
    • J

      [Beginner:Python] Turn object into a point selection bounding box

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      5
      0 Votes
      5 Posts
      1k Views
      ManuelM
      hello, If you have nothing to add, this thread will be considered as "solved" tomorrow. Cheers, Manuel