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
    • Z

      how to import c4d on my python project

      r19 python • • zhhm156
      6
      0
      Votes
      6
      Posts
      2.5k
      Views

      M

      Hi @zhhm156

      I'm wondering if your question has been answered. If so, please mark this thread as solved.

      Cheers,
      Maxime.

    • H

      Adding Multiple Keyboard Shortcuts within a Python Script

      r20 python sdk • • Hexbob6
      5
      0
      Votes
      5
      Posts
      2.3k
      Views

      M

      Hi @Hexbob6

      I'm wondering if your question has been answered. If so, please mark this thread as solved.

      Cheers,
      Maxime.

    • H

      Modify Sketch&Toon Rendersettings

      python • • HolgerBiebrach
      3
      0
      Votes
      3
      Posts
      1.0k
      Views

      Y

      Hi Holger,

      I'm wondering if your question has been answered. If so, please mark this thread as solved.

      Cheers,
      Yannick

    • Z

      question about Team Render

      • • zhhm156
      4
      0
      Votes
      4
      Posts
      1.3k
      Views

      r_giganteR

      Hi zhhm156, so for coming late here, but it took more than expected.

      After getting in contact with the team in charge of the development and making some further researches, it appears that the VerifyServerOnClient function is indeed deprecated.

      I'll get back on this discussion in the future to notify about potential workaround to achieve a similar functionality.

      Best, Riccardo

    • R

      Change plugin folder cinema4d R19

      r19 python • • Rage
      2
      0
      Votes
      2
      Posts
      1.4k
      Views

      a_blockA

      Hi,

      I have turned your thread into a question, see Q&A New Functionality.
      Also moved the thread to the category Cinema 4D Development.

      In Cinema 4D R19 you can use the environment variable C4D_PLUGINS_DIR to set another path for plugins.
      It may even contain multiple directories (separated by semicolon ; ), although there was a bug in the early versions of R19, which prevented this. The bug was fixed with R19 SP2.
      There's an old thread discussing this, where you can also see how it's used: C4D_PLUGINS_DIR Multiple path
      Admittedly the original poster still seemed to have issues with mutiple paths, which we have not been able to reproduce, though.

      In Cinema 4D R20 this was changed completely. There you have multiple options:

      Multiple plugin directories can be set in Cinema's preferences g_additionalModulePath environment variable Additional plugin directories can be specified on command line Cinema4D.exe g_additionalModulePath=...

      See also Environment Variables in the user help and also the thread Is C4D_PLUGINS_DIR env var still working (R20.0.28)?.

      Cheers,
      Andreas

    • eZioPanE

      Force InExclusionData update after remove object outside of In-/Exclusion User Data

      python r19 • • eZioPan
      7
      0
      Votes
      7
      Posts
      1.7k
      Views

      eZioPanE

      Hi, @y_puech I may find a bug of the forum about "mark a post correct answer", discussion post here: Cannot mark post as answer
      Once this bug solved, I will re-edit this topic and posts correctly.

    • chuanzhenC

      restore weight to BaseContainer and get it Vs Direct get weight from weight Tag

      r19 python • • chuanzhen
      7
      0
      Votes
      7
      Posts
      2.1k
      Views

      chuanzhenC

      @m_adam Wow, I learned some tricks from your code! ( so important to me)
      Thank you very much for your optimization and testing of your personal time, which is very helpful to me!
      (C++ is so fast)

    • V

      MAXON_MODULE_ID undeclared identifier [R20 C++ plugin]

      • • victor
      8
      0
      Votes
      8
      Posts
      2.5k
      Views

      A

      Hi Riccardo!

      Thank you very very much for your detailed explanation.
      That helped me a lot and YEAHHHH....got it working ✌ ☺

      Thanx in advance for your time!

      Best regards
      Andi

    • G

      Drag GeUser Area Dialog window which is in DLG_TYPE_ASYNC_POPUPEDIT mode

      • • gogeta
      4
      0
      Votes
      4
      Posts
      1.1k
      Views

      a_blockA

      Hi,

      as I said in my previous post, I have no ideal solution for you. By "awkward" I wanted to express, that I expected this to be not the solution you want, after all such a move by resizing would imply at least to size operations by the user, if both screen are equal size.

      And unfortunately I have nothing else to offer. Sorry.

      Bye,
      Andreas

    • P

      VPBUFFER_OBJECTBUFFER is not rendered correctly

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

      r_giganteR

      Hi Petros, glad that you get it fixed.

      With regard to buffer allocation via AllocateBuffer, being those buffer handled by Cinema, they are automatically released as soon as the multipass bitmap containing such buffers are passed to the PictureViewer.

      Best, Riccardo

    • K

      One more Multi-License Server question

      • • Klaus
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      r_giganteR

      @klaus Hi Klaus, please write to our support email address for further assistance on serial number syntax.

      Best, Riccardo

    • FlavioDinizF

      Adding items to a LONG/CYCLE description container.

      python r20 • • FlavioDiniz
      4
      0
      Votes
      4
      Posts
      1.6k
      Views

      M

      You have to declare hdrs as a member variable. See 9.3.5: https://docs.python.org/2/tutorial/classes.html

    • R

      How to use c4d.utils.PolygonReduction

      r19 python • • Rage
      5
      0
      Votes
      5
      Posts
      1.6k
      Views

      R

      Thank you! This is so much clear now

    • E

      Description... missing member "ID"

      • • ello
      5
      0
      Votes
      5
      Posts
      1.4k
      Views

      E

      @s_bach thank you. i still am on my road... at least it solves the compiler error. i get quite some crashes after updating. guess this will take some time

    • rsodreR

      Project Tool include

      project tool • • rsodre
      9
      0
      Votes
      9
      Posts
      2.0k
      Views

      a_blockA

      Hi,

      we have forwarded your ideas and suggestions toi our development.

      Add post build phases to the project. At least add a custom Run Script that runs a specified script so we can properly install the plugin.

      While I do see use cases for a post-build script/step option, it may not be needed for the purpose of installing a plugin. After all in R20 plugins can be located in arbitrary locations (like for example your project directory). You just need to add these locations via either preferences or via environment variable or command line option.

      (bug) XCode project gets corrupted if we add a file twice with Include.

      I'm not sure if I can follow here. Can you please check, if you are also lacking a release build option, if you run the project tool on a freshly unpacked sdk.zip?
      Actually you should have all the options shown in the screenshot below:

      0_1540581182413_261018_113521_0.png

      Cheers,
      Andreas

    • M

      Source processor definitions

      r20 c++ • • mp5gosu
      2
      0
      Votes
      2
      Posts
      626
      Views

      a_blockA

      Hi,

      I guess you are talking about rule sets to automatically enforce our code style guide.
      No, for now we do not provide such files. But I'll forward this as an idea to our development.

      So long all we have is the documentation of our code style guide.

      Cheers,
      Andreas

    • E

      GetLength compiler error

      c++ • • ello
      4
      0
      Votes
      4
      Posts
      1.0k
      Views

      a_blockA

      Hi,

      while @mp5gosu already provided the answer, I'm just chiming in to mention, that I converted your thread into a question, see Q&A Functionality and also added a tag to this thread, see Read Before Posting.

      Cheers,
      Andreas

    • E

      since i am not able to compile things for r20 on my computer here is the source...

      • • ello
      13
      0
      Votes
      13
      Posts
      3.1k
      Views

      E

      hm, in the sdk help it is mentioned under "api change list in r20"... scrolling down to lib_description.h

      i installed VS2015 just for seeing if it works better with c4d. however, in 2017 i had a nice built output where i could sort errors and warnings. this isn't there in the 2015 version, or do i need to toggle it somewhere. cannot find

      nevermind, found it 🙂

    • E

      styleguide warnings

      c++ r20 • • ello
      7
      0
      Votes
      7
      Posts
      1.7k
      Views

      E

      thank you.

    • R

      getting 3D noise values

      python • • ruckzuck
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      R

      Thanks @eziopan and Sebastian for your answers !

      So far I searched a way for getting values out of the 3D noise shaders. Starting point was the c4d.BaseShader class but it seems to me that accessing these shaders in order to get noise values is much more cumbersome than using the C4DNoise class and specifying the corresponding noise type as parameter 't' - as @eziopan has pointed out.

      So: thank you - problem solved ☺

      ... and sorry, I haven't read the Q&A system thoroughly enough - next time I will mark my post properly.

      cheers, Jens