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. yesbird
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 17
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by yesbird

    • RE: Accessing Sweep's spline data from C4DImportExport.cpp

      Hi, @Manuel.

      I understand, thank you.

      All the best,
      ....
      YB

      posted in Cineware SDK
      yesbirdY
      yesbird
    • RE: Accessing Sweep's spline data from C4DImportExport.cpp

      Hi, @Manuel
      You wrote:

      This is not available in the implementation, which is why it is commented out (and why you have this error message 'unresolved external')

      about this method:

      // Vector GetPoint(Float r) const;
      

      Although now I have spline implementation (cubic and linear) and using it for calculation the more neat solution could be to implementing method, mentioned above.

      Could you tell me please, if you have plans of it's implementation ?
      If not, I could implement it myself, having access to Cineware sources.

      All the best,
      ....
      YB

      posted in Cineware SDK
      yesbirdY
      yesbird
    • RE: Check if object enabled

      Hi, @ferdinand
      Many thanks for accurate and detailed response, ID_BASEOBJECT_GENERATOR_FLAG works like a charm !
      ....
      YB

      posted in Cineware SDK
      yesbirdY
      yesbird
    • Check if object enabled

      Hi,
      In my export utility I'm using following method to check if object should be rendered:

      Int32 BaseObject::GetRenderMode(void)
      

      Could you please point me the method that shows if object is enabled (see attached image) ? Unfortunately, I can't find it in documentation.

      c82d02f1-fd8a-4afb-99b9-89b499859582-image.png

      Thanks in advance,
      ....
      YB

      posted in Cineware SDK c++ sdk
      yesbirdY
      yesbird
    • RE: Displaying tag properties as part of object's properties

      Thanks, @Manuel.

      The reason was in definition of TAG_MULTIPLE at the moment of registration. Now the tag properties are displayed as I was expecting.
      ....
      YB

      posted in Cinema 4D SDK
      yesbirdY
      yesbird
    • Displaying tag properties as part of object's properties

      Hi,

      Could you please suggest me, how to make tag info available in object's properties, like here:

      tag_tab.png

      By default, tag properties are displayed separately, only when tag is selected.

      Thanks in advance,
      Sergey (Yesbird).

      posted in Cinema 4D SDK c++ maxon api sdk
      yesbirdY
      yesbird
    • RE: Calling system command on animation frame change

      Hi, Manuel.

      Thank you for description of both approaches, now I can compare them and choose the best.

      Regards,
      Sergey (Yesbird).

      posted in Cinema 4D SDK
      yesbirdY
      yesbird
    • RE: Calling system command on animation frame change

      Hi, @manuel.

      I only want to add, that Cineware-based solution even more preferable, as it much more easy to debug.

      Btw, is there a way to detach C++ written plugin dll for rebuild time not restarting C4D application ?
      ....
      YB

      posted in Cinema 4D SDK
      yesbirdY
      yesbird
    • RE: Calling system command on animation frame change

      Hi, @manuel.

      I mean regular SDK here.
      ....
      YB

      posted in Cinema 4D SDK
      yesbirdY
      yesbird
    • RE: Accessing Sweep's spline data from C4DImportExport.cpp

      Hi,@manuel.

      Thank you for explanation, I will calculate spline points myself, no problem.

      All the best,
      ....
      YB

      posted in Cineware SDK
      yesbirdY
      yesbird
    • RE: Accessing Sweep's spline data from C4DImportExport.cpp

      Hi, @manuel.

      Many thanks for fast and detailed response. Fortunately, I've alredy passed all steps, but last - getting spline points (not knots), and unfortunately, can not do it by strange issue: in file customgui_splinecontrol.h method that I need:

      //Vector GetPoint(Float r) const;
      

      is commented out and when uncommented, gives 'unresolved externa' error.

      I have the lates SDK version:
      22.008_RBCinewaresdk22.0_355130

      Could you please help me to find workaroud for this problem ?

      Thanks in advance,
      Sergey (Yesbird).

      posted in Cineware SDK
      yesbirdY
      yesbird
    • Calling system command on animation frame change

      Hello.
      I'm writing an exporting tool for POV-Ray now and thinking about external rendering of animation frames, assuming following scenario:

      for every_frame:
        save_scene();
        call_renderer(); // As external system command
      

      I'm very new to the C4D SDK, so could you please suggest to me, how to find the event of frame change and run commands on this event ?

      Unfortunately, searching manuals still does not give any results.

      Thanks in advance,
      Sergey (Yesbird).

      posted in Cinema 4D SDK c++ python
      yesbirdY
      yesbird
    • Accessing Sweep's spline data from C4DImportExport.cpp

      Hello,
      In the process of writing tool (https://github.com/syanenko/pov-tools) for exporting C4D objects to POV-Ray, I've ran into following problem: can not find any information about accessing spline data, available in Details tab of Sweep node, from C++.

      This spline is marked on following image:
      c4d_spline.png

      I would like to use this data to alter sphere radius in POV's Sphere sweep object. The code of this tool is based on C4DImportExport.cpp example.

      Could you please point me in the right direction?

      Thanks in advance,
      Sergey (Yesbird).

      posted in Cineware SDK c++ sdk
      yesbirdY
      yesbird
    • RE: Drop-down list in tag for C++ plugin

      Hello, @ferdinand

      Thanks, I will take it into account.

      All the best,
      ...
      YB

      posted in Cinema 4D SDK
      yesbirdY
      yesbird
    • RE: Drop-down list in tag for C++ plugin

      Hello, @ferdinand.

      Many, many thanks for your detailed description of UI background, grepping-based workflow is not new to me, so "sapienti sat" 🙂

      I used the User Data Editor before, but now I discovered a new side. If I understand well, there is a possibility to create a UI sketch, save it and then find the appropriate *.res in {Cinema 4D RXX}\resource directory. This technique should be very useful, I definitely will try it.

      All your code examples are exactly what I was looking for, now I can implement all my ideas in the best way.

      Besides that, I would like to say that after more than 30 years of working in IT, I've never seen such attentive and mindful support - with not only code samples, but even with animated screenshots.

      Writing plugins for C4D is pure fun now.

      Thanks again,
      ...
      YB

      posted in Cinema 4D SDK
      yesbirdY
      yesbird
    • RE: Drop-down list in tag for C++ plugin

      Hello, @ferdinand.

      Thank you very much for the rapid and detailed response, after reading the section about LONG parameter type more carefully, I was able to complete this part of the UI and now the list works fine.

      Although I am satisfied with the present result, if you will give me a little more details about the radio buttons' custom GUI, I will be absolutely happy :).
      Unfortunately, I didn't find any info about radio buttons in manual.

      All the best,
      YB.

      posted in Cinema 4D SDK
      yesbirdY
      yesbird
    • Drop-down list in tag for C++ plugin

      Hi, guys.

      While writing C++ plugin for C4D I ran into the following problem: can't find any info about how to create a drop-down list for tag parameter.

      Manual states, that it's possible to use CUSTOMGUI flag and I see implementation CUSTOMGUI_LISTVIEW in framework, but no any other info how to use it.
      At the same time 'CUSTOMGUI MULTISTRING' works fine.

      Any help or suggestions please !
      Thanks in advance,
      ...
      YB

      posted in Cinema 4D SDK c++ r19
      yesbirdY
      yesbird