Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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. AndreAnjos
    3. Topics
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 18
    • Posts 85
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by AndreAnjos

    • A

      Target Tag not fixing to target

      Cinema 4D SDK
      • r21 python • • AndreAnjos
      8
      0
      Votes
      8
      Posts
      1.5k
      Views

      A

      Hi @Cairyn,

      Understood and works like a charm!

      Many thanks guys 🙂

    • A

      ShowPopupDialog Freezes Cinema R21

      Cinema 4D SDK
      • python r21 • • AndreAnjos
      12
      0
      Votes
      12
      Posts
      1.8k
      Views

      A

      @ferdinand
      Hi Ferdinand,

      Thank you for your time and help!
      Will get it sorted with your pointers above.

      All the best!

      Andre

    • A

      Add and Remove Edge Loops Poly Object

      Cinema 4D SDK
      • python r19 • • AndreAnjos
      12
      0
      Votes
      12
      Posts
      2.2k
      Views

      A

      Hi @r_gigante,

      Not to worry! I understand! 😃

      Thanks for your help!

      Andre

    • A

      Custom exporting animation data into aec file crashes Cinema

      Cinema 4D SDK
      • r19 python • • AndreAnjos
      9
      0
      Votes
      9
      Posts
      1.2k
      Views

      A

      @m_magalhaes
      Hi Manuel,

      Thank you for giving me some time to check this out.
      So after a bit of testing and changing the code to work with Cinema I cannot replicate the issue. As you mention it seems to be related to Pyblish.

      I did find interesting that when running the code in Cinema without Pyblish you can't see the active frame running through the timeline, while you do see it when running through Pyblish. Perhaps that's the correlation with the crash.

      I will close this as solve, for the fact that it does not crash in the Cinema context.

      Thanks again!

      Andre

    • A

      Finding duplicate materials - Octane Render

      Cinema 4D SDK
      • python r19 • • AndreAnjos
      17
      0
      Votes
      17
      Posts
      2.4k
      Views

      John_DoJ

      Hi, sorry for bringing back up this topic but the Compare() method still gives weird results in 2024.5.1.

      Cinema_4D_D5fWj9O4RQ.gif

      Comparing a material duplicated with Ctrl-Drag returns sometimes True, sometimes False Comparing a material against a copy-pasted version (in the same scene) always returns False Comparing two identical materials both copy-pasted together in one-go in another scene always returns False, even if True was returned in the original scene.

      Please note that I'm using Corona Materials here but results are the same with the Standard Material.

    • A

      GetAllTextures from materials only

      Cinema 4D SDK
      • • • AndreAnjos
      12
      0
      Votes
      12
      Posts
      2.1k
      Views

      A

      Hi @m_adam,

      Thanks for letting me know! 😃

      Andre

    • A

      Get shader's parent ID

      Cinema 4D SDK
      • python r19 • • AndreAnjos
      8
      0
      Votes
      8
      Posts
      1.2k
      Views

      A

      @m_magalhaes said in Get shader's parent ID:

      hello,
      thanks @zipit ^^

      just one thing, in the context of the script manager, you don't need DOC = c4d.documents.GetActiveDocument() there is already doc.

      cheers,
      Manuel.

      Corrected! ☺

      Thank you Manuel!

    • A

      Cinema tools local development, control and deployment

      General Talk
      • • • AndreAnjos
      9
      0
      Votes
      9
      Posts
      1.4k
      Views

      A

      @m_magalhaes said in Cinema tools local development, control and deployment:

      And if you find something in your side, sharing that would be awesome.

      Absolutely! ☺

    • A

      Add Position Velocity Port

      Cinema 4D SDK
      • r19 python • • AndreAnjos
      7
      0
      Votes
      7
      Posts
      967
      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! 👍

    • A

      Export objects with materials to new document

      Cinema 4D SDK
      • python r19 • • AndreAnjos
      2
      0
      Votes
      2
      Posts
      364
      Views

      A

      Found it! ☺

      c4d.documents.IsolateObjects(doc, t_objects)

      A helper routine to copy the objects t_objects of document doc to a new document (returned). All materials associated are also copied over and the links are corrected.

      Parameters:
      doc (c4d.documents.BaseDocument) – The document that contains the objects in t_objects.
      t_objects (List[c4d.BaseObject]) – The objects to isolate.
      Return type:
      c4d.documents.BaseDocument

      Returns:
      The document containing the isolated objects.

      Thank you all ! 👍

    • A

      Attaching image to camera calibrator adds offset to camera

      Cinema 4D SDK
      • python r19 • • AndreAnjos
      10
      0
      Votes
      10
      Posts
      1.4k
      Views

      A

      Hi Manuel,

      Right! Found the culprit... symbolcache file...
      Couldn't understand how it was working for you and not for me.
      After deleting symbolcache worked straight away and it seems that also works without having

      doc.SetActiveTag(outro_cal_tag)

      Thank you very much for your awesome help with this! ☺

      Andre

    • A

      Frame selected objects correctly in camera

      Cinema 4D SDK
      • python r19 • • AndreAnjos
      13
      0
      Votes
      13
      Posts
      2.4k
      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

    • A

      Changing DATETIME_GUI date format

      Cinema 4D SDK
      • python r19 • • AndreAnjos
      3
      0
      Votes
      3
      Posts
      631
      Views

      A

      @s_bach
      Hi Sebastian,

      Thanks for your help!
      That makes sense!

      Andre

    • A

      Cinema 4D R20 and Octane 3.08.5 attribute issue

      Cinema 4D SDK
      • • • AndreAnjos
      11
      0
      Votes
      11
      Posts
      6.2k
      Views

      A

      @a_block
      Hi Andreas,

      Thanks for your help and you are never too late! ☺
      That actually makes more sense.
      Unfortunately I can't seem to replicate the issue again on my machine, as it seems that it's been working for all my updates.

      I will have a look on one of my team machines when released and see if that could be the problem.

      Thank you again! 👍

    • A

      Run Plugin Last

      Cinema 4D SDK
      • python r19 • • AndreAnjos
      3
      0
      Votes
      3
      Posts
      719
      Views

      A

      @m_adam
      Hi Maxime,

      It works like a treat!
      I've ended up changing the UI to a treeView and it's still working great.
      Thank you very much! ☺

      Andre

    • A

      3D Mouse Slider Focus

      Cinema 4D SDK
      • python windows r19 maxon api • • AndreAnjos
      13
      0
      Votes
      13
      Posts
      2.8k
      Views

      CairynC

      @charly CollieMouse rotates around the current selection or the explicit rotation center (the one you set with the INS shortcut). It will not rotate around the mouse pointer (I think... I implemented so many modes over time that I tend to forget the options...). The mouse pointer only exists in 2D space anyway so the actual rotation would happen around a projection of the mouse position into the scene, and if you move the mouse, the rotational center would change... not sure whether that is even a usable mode.

      The mode I'd recommend would be around the explicit center: Position the mouse, press INS (or whatever shortcut you use), and then use the 3D mouse to rotate around that. C4D shows the explicit center as green cross so you always know where it is.

      At the moment there is no R2023 version of CollieMouse anyway, so the point is moot. But you can reach me under cairyn (at) tigress (dot) com if you require specialty development.

    • A

      Removing objects from InExclude List and GUI (CommandData Plugin)

      Cinema 4D SDK
      • python windows r19 • • AndreAnjos
      3
      0
      Votes
      3
      Posts
      768
      Views

      A

      Amazing! Thank you again Andreas!

    • A

      Clear LinkBox field

      Cinema 4D SDK
      • python r19 windows • • AndreAnjos
      3
      0
      Votes
      3
      Posts
      918
      Views

      A

      Hi Andreas,

      Thank you very much! ☺
      It works like a treat and I appreciate your thorough explanation!

      Happy Friday!

      Andre