Navigation

    • Register
    • Login
    • Search
    • Categories
    1. Home
    2. Cinema 4D Development
    Log in to post

    Cinema 4D Development

    • P

      maxon::Loggers::PythonConsole
      r20 c++ sdk microsoft windows • • pim  

      4
      0
      Votes
      4
      Posts
      378
      Views

      P

      Great, thank you.
    • C

      SOLVED Problem with DeleteObj() and maxon::PointerArray
      c++ sdk issue apple macos • • codysorgenfrey  

      3
      0
      Votes
      3
      Posts
      375
      Views

      C

      Ahhhh thanks! I couldn't find an Array Manual in the R18 documentation. I was going like this: maxon::PointerArray<MyCustomClass> myPointerArr = NewObj(maxon::PointerArray<MyCustomClass>); DoStuffWithArray(myPointerArr); DeleteObj(myPointerArr); It seems my problem was with the PointerArray taking ownership of my pointers, then deallocating them before I was done with them. Since it doesn't seem that R18 has maxon::UniqueRef objects I decided to go with a maxon::BaseArray<MyCustomClass*> instead. Thanks again for your help Sebastian!
    • J

      SOLVED Reading console output - possible?
      python r20 c++ maxon api • • jwzegelaar  

      11
      0
      Votes
      11
      Posts
      963
      Views

      P

      I already guessed so. Thanks, I think we can close this post. -Pim
    • M

      Weird behavior with Remove() and InsertObject()
      r20 c++ classic api microsoft windows • • mp5gosu  

      6
      0
      Votes
      6
      Posts
      549
      Views

      @mp5gosu deleted an owned topic is now enabled for all users and no error is anymore notified when attempting to delete a first post. Best Riccardo
    • SOLVED R20 ignores language/stringtable
      python r20 issue • • eggtion  

      3
      0
      Votes
      3
      Posts
      376
      Views

      That's it! :) Thank you so much, mp5gosu! Cheers, Mark.
    • P

      SOLVED LoggerInterface API - reading all lines from the console
      r20 c++ microsoft windows maxon api • • pim  

      4
      0
      Votes
      4
      Posts
      462
      Views

      P

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

      About threads
      r20 c++ maxon api • • anoano  

      4
      0
      Votes
      4
      Posts
      504
      Views

      S

      Hello, you find information and examples on jobs and threads in these manuals: Jobs Manual Threads Manual best wishes, Sebastian
    • B

      Controlling Shader with Userdata
      • bencaires  

      5
      0
      Votes
      5
      Posts
      659
      Views

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

      SOLVED Force update interface of the plugin
      c++ sdk • • victor  

      4
      0
      Votes
      4
      Posts
      437
      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().
    • G

      SOLVED Rotate a bitmap image in portrait mode by 90 degrees
      c++ sdk api r19 microsoft windows application development • • gogeta  

      3
      0
      Votes
      3
      Posts
      454
      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...!
    • R

      Compiling for R20
      r20 c++ sdk microsoft windows project tool • • rootbender  

      3
      0
      Votes
      3
      Posts
      463
      Views

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

      Source processor bug
      r20 c++ sdk microsoft windows issue project setup • • rootbender  

      3
      0
      Votes
      3
      Posts
      371
      Views

      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
    • R19: SplitPolygon and Ngon indices
      c++ classic api r19 issue • • fwilleke80  

      4
      0
      Votes
      4
      Posts
      644
      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

      win_macros.h Error
      r20 c++ sdk microsoft windows issue • • rootbender  

      3
      0
      Votes
      3
      Posts
      392
      Views

      M

      Hello, please see here: https://developers.maxon.net/docs/Cinema4DCPPSDK/html/page_maxonapi_programming_advice.html and especially here: https://developers.maxon.net/docs/Cinema4DCPPSDK/html/page_maxonapi_dev_windows.html (Windows includes)
    • B

      Linking python tag userdata to null (ie compositing tag)
      • bencaires  

      6
      0
      Votes
      6
      Posts
      646
      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.
    • D

      Folder Structure Changes in R20
      r20 c++ issue plugin migration • • d_schmidt  

      2
      0
      Votes
      2
      Posts
      325
      Views

      Hello Daniel, thanks for reporting this. There are currently a few issues regarding the Plugins menu pending. These are being investigated. Cheers, Andreas
    • M

      use python script change joint weight isn't update in viewport
      python classic api • • mike  

      8
      0
      Votes
      8
      Posts
      822
      Views

      @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.
    • L

      SOLVED Copy color of a clone to an other clone
      python classic api • • leo_ha  

      4
      0
      Votes
      4
      Posts
      469
      Views

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

      SOLVED Multiplying (transforming) a Vector by a Matrix - in 3 or more steps...
      r20 c++ api plugin migration • • Keith Young  

      3
      0
      Votes
      3
      Posts
      441
      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.
    • K

      R20 Mac development
      r20 c++ sdk apple macos • • Keith Young  

      4
      0
      Votes
      4
      Posts
      498
      Views

      K

      Thanks for the responses guys... I think I've found a virtual solution/work-around for the time-being. Cheers.
    Powered by NodeBB | Contributors

    © 2018 MAXON Computer - Copyright Information | Privacy Policy | Terms of Use | Imprint