• Categories
    • Overview
    • News & Information
    • Cinema 4D SDK Support
    • Cineware SDK Support
    • ZBrush 4D SDK Support
    • Bugs
    • General Talk
  • Unread
  • Recent
  • Tags
  • Users
  • Register
  • Login
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
  • Register
  • Login

Convert object

Cineware SDK
2
3
671
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    Passion3D
    last edited by Mar 16, 2019, 3:48 PM

    Hi

    The documentation of Melange is not very clear, and there is only one example 😞

    Can we convert a parametric object into a polygonal object, as we do with "makeeditable" in a plugin?

    1 Reply Last reply Reply Quote 0
    • R
      r_gigante
      last edited by r_gigante Mar 18, 2019, 11:54 AM Mar 18, 2019, 11:54 AM

      Hi Passion3D, thanks for reaching out us.

      With regard to your question, please note that being the Melange API designed with the intent of enabling the data transfer from Cinema 4D to other 3rd-party host application it lacks some group of functionalities which are indeed part of the sole Cinema 4D API like, for example, generating geometries on-the-fly.
      Being said this, any parametric object present in a scene saved using the "Save Project For Melange..." will be saved in the file together with its caches, allowing methods like to BaseObject::GetCache() and BaseObject::GetDeformCache() to be used.
      On the contrary, if a file is not saved using the "Save Project for Melange..." or if "Save Polygons for Melange" is not enabled in the Preferences->Files section in Cinema 4D before an "ordinary" save is fired, the parametric objects present in the file won't be provided with the caches computed by Cinema and, consequently, there will be no chances to access those data.

      To answer your question, in the end, no chance to "makeeditable" rather to access the data belonging the cache when available in the .c4d file.

      Hoping that this few notes help, feel free to get back for any further comment.

      Best, Riccardo

      1 Reply Last reply Reply Quote 1
      • P
        Passion3D
        last edited by Mar 18, 2019, 5:02 PM

        Unfortunately, that's what I thought 😞
        So I'll have to write a MakeEditable function 😉

        Thanks Ricardo

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          Last post