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. Cinema 4D SDK
    Log in to post
    Load new posts
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • B

      Python Effectors

      python • • bencaires
      5
      0
      Votes
      5
      Posts
      1.9k
      Views

      B

      Thanks dskeith, that code worked perfectly. Thanks for that!

    • m_tamuraM

      How access to the listview from videopost

      r20 sdk • • m_tamura
      3
      0
      Votes
      3
      Posts
      1.1k
      Views

      m_tamuraM

      Thank you, Sebastian.

      Your reply clearly shows what I should learn.

      I need a little time to understand, but I am working on it and I made a little progress.

      Cheers
      Makoto

    • indexofrefractionI

      BaseContainer and Description

      • • indexofrefraction
      4
      0
      Votes
      4
      Posts
      1.3k
      Views

      indexofrefractionI

      thank you sebastian,

      this is a really helpful overview!

    • N

      Can't compile plugin on Mac OSX

      c++ r19 macos • • neon
      3
      0
      Votes
      3
      Posts
      1.2k
      Views

      a_blockA

      Hi,

      difficult to tell. Is this already happening, just by adding the CUDA include paths to the project or do you actually need to include from the framework as well?
      Maybe there's something with the order of includes? Or something needs to be undefined again, after including CUDA somewhere?
      Just guess work, here at the SDK Team we have no experience with the CUDA framework at all.

      Cheers,
      Andreas

    • K

      R20 Mac development

      c++ r20 sdk macos • • Keith Young
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      K

      Thanks for the responses guys... I think I've found a virtual solution/work-around for the time-being.

      Cheers.

    • K

      Multiplying (transforming) a Vector by a Matrix - in 3 or more steps...

      • • Keith Young
      3
      0
      Votes
      3
      Posts
      1.2k
      Views

      K

      "actually, you can still multiply in one line. You just have to multiply a matrix with a vector:..."

      D'oh! I'm surprised that I didn't try that - tho it doesn't seem as intuitive ("vector = some other vector, being modified by some operations" vs. "vector = a matrix, imposing/operating on some vector", etc.)... do you know why the Vector lost so many direct operators (* other Vector (Dot()), * Matrix, % other Vector (Cross()) - there may be others)?

      Apparently, you can still '!v' to normalize it (yay), even tho there's a v.Normalize() call... and I can understand why the "Identity Matrix" operator might have changed from '!' to '~'... some of the other changes just seem a bit arbitrary.

      I've already made all the changes at this point, but thanks for the tip/reply - I'll keep that in mind for future reference.

      Cheers.

    • L

      Copy color of a clone to an other clone

      python • • leo_ha
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      a_blockA

      Hi,

      just a small request from our side: Please do not cross post to different forums (this topic on CGSociety). Chances are, you'll make people work for you redundantly.

      Cheers,
      Andreas

    • M

      use python script change joint weight isn't update in viewport

      python • • mike
      8
      0
      Votes
      8
      Posts
      2.2k
      Views

      a_blockA

      @mike No need to apologize, we are all new here. No worries. Especially during the starting phase of this new forum, we try to point even at small issues, hoping it will lead to a cleaner forum in future.

    • D

      Folder Structure Changes in R20

      • • d_schmidt
      2
      0
      Votes
      2
      Posts
      848
      Views

      a_blockA

      Hello Daniel,

      thanks for reporting this. There are currently a few issues regarding the Plugins menu pending. These are being investigated.

      Cheers,
      Andreas

    • B

      Linking python tag userdata to null (ie compositing tag)

      • • bencaires
      6
      0
      Votes
      6
      Posts
      2.0k
      Views

      Y

      Hi,

      The Test tag plugin is missing in the linked c4d file but I see the behavior with another tag plugin (Py-LookAtCamera SDK example).

      I was wrong in my previous post. This behavior of the Attribute Manager is applied to tags that can be added only once to an object. This can't be done for tags that can be added multiple times.
      Unfortunately the Python tag is registered with TAG_MULTIPLE flag so it can be added multiple times to an object but the parameter tab isn't attached to its parent object.

    • R

      win_macros.h Error

      c++ windows r20 sdk • • rootbender
      3
      0
      Votes
      3
      Posts
      1.1k
      Views

      M

      Hello,

      please see here: https://developers.maxon.net/docs/cpp/2023_2/page_maxonapi_programming_advice.html
      and especially here: https://developers.maxon.net/docs/cpp/2023_2/page_maxonapi_dev_windows.html (Windows includes)

    • fwilleke80F

      R19: SplitPolygon and Ngon indices

      r19 c++ • • fwilleke80
      4
      0
      Votes
      4
      Posts
      1.7k
      Views

      B

      @r_gigante Thank you very much for your help, Riccardo!

      The suggested method of calculating the ngon index works fine with the Modeling::SplitPolygon() function, but functions like Modeling::GetEdgeNgons() sometimes return unexpected indices, which seem to be based on a different logic.

      I have updated the demo plugin and also included an image (NgonIndexProblem.png) in the zip file, which explains the problem:

      https://files.frankwilleke.de/index.php/s/EpGg1TkdzIemWJl

      In this case Modeling::GetEdgeNgons() and Modeling::GetPointNgons() returns indices which seem to be a confusing mix of ngon and polygon indices (or indices with and without offsets).

      Do you have any more ideas?

      Thanks in advance,
      Tim

    • R

      Source processor bug

      • • rootbender
      3
      0
      Votes
      3
      Posts
      1.1k
      Views

      a_blockA

      Hi,

      actually this is not a bug, but a design decision. Here at MAXON we have a pretty large code base and especially disabled code branches tend to age a lot faster. So we try to force developers to also maintain such code pieces or to at least think about, if they are still valuable and otherwise remove and thus cleanup the code base.

      Cheers,
      Andreas

    • R

      Compiling for R20

      c++ r20 sdk windows project tool • • rootbender
      3
      0
      Votes
      3
      Posts
      1.4k
      Views

      a_blockA

      Hi,

      glad you were able to solve your problem. We'll take this as a hint and see if we can improve our documentation in this regard.

      Cheers,
      Andreas

    • G

      Rotate a bitmap image in portrait mode by 90 degrees

      • • gogeta
      3
      0
      Votes
      3
      Posts
      1.4k
      Views

      G

      @a_block Thank You so much Andreas !
      I would like to try all the suggested approaches and hopefully I'll get my issue resolved (except second option is out of my context as I can't use another application). Third potion seems to be the best suited option and I would like to give it a try.
      Thanks Again...!

    • V

      Force update interface of the plugin

      c++ sdk • • victor
      4
      0
      Votes
      4
      Posts
      1.5k
      Views

      M

      @m_adam said in Force update interface of the plugin:

      Regarding advice from @mp5gosu, MSG_CHANGE is only needed when the structure of the object change (you change the count of point for example) since SetParemeter will automatically increase the dirty count of an object is not needed in your case.

      Sorry, I actually meant EventAdd().

    • B

      Controlling Shader with Userdata

      • • bencaires
      5
      0
      Votes
      5
      Posts
      1.7k
      Views

      dskeithbuckD

      @m_adam I've run into the copy/paste UserData bug a few times. Glad it's been reported!

    • A

      About threads

      c++ r20 • • anoano
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      S

      Hello,

      you find information and examples on jobs and threads in these manuals:

      Jobs Manual Threads Manual

      best wishes,
      Sebastian

    • P

      LoggerInterface API - reading all lines from the console

      c++ r20 windows • • pim
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      P

      Great, thank you for the great explanation, especially of the loop!
      I will give it a try.

      -Pim

    • eggtionE

      R20 ignores language/stringtable

      python r20 • • eggtion
      3
      0
      Votes
      3
      Posts
      998
      Views

      eggtionE

      That's it! 🙂
      Thank you so much, mp5gosu!
      Cheers,
      Mark.