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. Tags
    3. python
    Log in to post
    • All categories
    • delizadeD

      A GetClone problem about takes

      General Talk
      • • • delizade
      5
      0
      Votes
      5
      Posts
      324
      Views

      ferdinandF

      Hi @delizade,

      without further questions or feedback, we will consider this thread as solved by Monday and flag it accordingly.

      Cheers,
      Ferdinand

    • F

      Python: "Frame Selected" Within a Thread

      Cinema 4D SDK
      • python s22 • • flewis
      4
      0
      Votes
      4
      Posts
      224
      Views

      ferdinandF

      Hi @flewis,

      sorry, there has been some mix-up with access rights, you should be now able to access the page. About your fix: It does not really matter if you do it manually or not. While you can decouple the modification of the node attributes - which is allowed from within a thread - from the redraw event, to carry out that newly computed camera transform, you still will have to invoke a redraw, which you cannot do from within your threaded environment. When you invoke such redraw event, the first thing the internal code does, is to check if its running on the main thread and if not, it just gets out. So there is not much won by doing it manually, at least for what from my understanding is the premise of your problem: To constantly frame the viewport to the object that is currently processed by your async code.

      Cheers,
      Ferdinand

    • fwilleke80F

      Executing Python code in C++: crash when importing c4d package

      Cinema 4D SDK
      • c++ macos r23 python • • fwilleke80
      4
      0
      Votes
      4
      Posts
      116
      Views

      fwilleke80F

      I was in deed calling the code from within PluginStart(). Calling it from PluginMessage(C4DPL_STARTACTIVITY) fixed it. Thank you, Kent!

      Cheers,
      Frank

    • H

      PYTHON - FIND ANY ID PORT

      Cinema 4D SDK
      • python r21 sdk • • Hugo BATTISTELLA
      7
      0
      Votes
      7
      Posts
      308
      Views

      ferdinandF

      Hi @Hugo-BATTISTELLA ,

      without further questions or feedback, we will consider this thread as solved by Monday and flag it accordingly.

      Cheers,
      Ferdinand

    • ?

      ReferenceError when trying to Cache a GeClipMap

      Cinema 4D SDK
      • python windows r23 • • A Former User
      3
      0
      Votes
      3
      Posts
      112
      Views

      ?

      @zipit Thank you very much, Ferdinand. This helped me a lot!

    • ?

      Rotating a GeClipMap

      Cinema 4D SDK
      • windows python sdk r23 • • A Former User
      11
      0
      Votes
      11
      Posts
      290
      Views

      ?

      @zipit Thank you for the information.

    • M

      Unique Object Identifier

      Cinema 4D SDK
      • python • • Motion4D
      7
      0
      Votes
      7
      Posts
      374
      Views

      ferdinandF

      Hi @Motion4D,

      I am not quite sure if there will be anything in the pipeline soon, because the limitations of IDs and markers are more of principal nature due to Cinema's heavily procedural architecture; i.e., not really something that can be "fixed". If you have any particular feature in mind, I would ask you to make a separate post with a dedicated feature request.

      We however already did identify the whole "identifying and object"-thing a few weeks ago as something that is probably not explained well enough at the moment and added it to our to-do-list. There are no guarantees on when this will come though 😉

      Cheers,
      Ferdinand

    • chuanzhenC

      How to find an object quickly?

      Cinema 4D SDK
      • python s22 • • chuanzhen
      10
      0
      Votes
      10
      Posts
      278
      Views

      chuanzhenC

      @r_gigante Thanks for your help!

    • M

      Find Plugin remains by Plugin ID and delete - how to tacle.

      Cinema 4D SDK
      • r23 python • • mogh
      5
      0
      Votes
      5
      Posts
      503
      Views

      M

      I just had time to check this hence the holidays.

      This works with the correct ID (1036219 = Redshift) the nodes render my "cleaned" C4D file again.

      Thank you very much @m_magalhaes

      kind regards
      mogh

    • F

      Changing material projection in takes using Python

      Cinema 4D SDK
      • • • Futurium
      12
      0
      Votes
      12
      Posts
      782
      Views

      F

      Thank you @zipit
      I adopted your solution into our code and it works exactly as expected.
      Thank you for your help.
      Best regards,
      Tomasz

    • mikeudinM

      MacOS BigSur on M1 Macbook Air zlib not loading

      Cinema 4D SDK
      • python r23 macos • • mikeudin
      6
      0
      Votes
      6
      Posts
      928
      Views

      M

      Correct here are all the one we expect to fail:

      bz2 curses gzip lzma zlib

      As a quick reminder, Python 3.7.7 doesn't officially support M1, and only Python 3.9.1 (released in December does fully support it).

      Cheers,
      Maxime.

    • P

      Scrolling in UA

      Cinema 4D SDK
      • r23 python • • pim
      6
      0
      Votes
      6
      Posts
      259
      Views

      P

      Ok, clear. Thank you.

    • A

      Data to Spline

      Cinema 4D SDK
      • python c++ • • allenrob
      6
      0
      Votes
      6
      Posts
      487
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • mikeudinM

      How to catch Preferences editing

      Cinema 4D SDK
      • python r23 r21 • • mikeudin
      3
      0
      Votes
      3
      Posts
      104
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • B

      Adding multiple cameras from a single file to the render queue

      Cinema 4D SDK
      • python r23 • • beezle
      22
      0
      Votes
      22
      Posts
      1.5k
      Views

      M

      @gsmetzer said in Adding multiple cameras from a single file to the render queue:

      My only question: Can you run this script without saving a multiple iterations of the source .c4d file to the OS?

      Sadly, this is not possible, you are forced to create a c4d file each time. However this is a feature we will tackle in the future, but I can't say when neither give any guarantee.

      Or, is it possible to delete the source .c4d file iterations upon completion?

      You can iterate all elements, call GetElementStatus and check for its finish state.
      If you need help to achieve that please open a new topic.

      Cheers,
      Maxime.

    • delizadeD

      A problem about getting an object width value with python

      Cinema 4D SDK
      • r23 python • • delizade
      7
      0
      Votes
      7
      Posts
      291
      Views

      ferdinandF

      Hi @delizade,

      Thanks @a_block for helping out! @delizade you can find the description for the priority options in the Python Tag section of the user manual.

      Cheers,
      Ferdinand

    • P

      Content Browser and StrNotFound

      Cinema 4D SDK
      • r23 python • • pim
      4
      0
      Votes
      4
      Posts
      159
      Views

      ManuelM

      hi,

      i was saying not to use the same ID (in case of conflict)

      But it seems that there's no conflict neither with the symbol name or the symbol ID.
      A bit strange.

      Cheers,
      Manuel

    • delizadeD

      How to use/import another script file in Python tag correctly?

      Cinema 4D SDK
      • python • • delizade
      7
      0
      Votes
      7
      Posts
      531
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Monday and flag it accordingly.

      Cheers,
      Ferdinand