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. wuzelwazel
    3. Topics
    W
    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 42
    • Best 10
    • Controversial 0
    • Groups 0

    Topics created by wuzelwazel

    • W

      Very Slow - AddUndo() Before Removing Object From the Document

      Cinema 4D SDK
      • python 2023 • • wuzelwazel
      2
      0
      Votes
      2
      Posts
      362
      Views

      i_mazlovI

      Hello @wuzelwazel,

      Depending on the size and complexity of objects on your scene (namely on the objects that are processed with the script) adding an undo can be quite an expensive operation to execute. There was some recent work done that should affect the undo-stack in a positive way in the following releases.

      Let me know if you have any further questions.

      Cheers,
      Ilia

    • W

      How to make Python Field react to camera?

      Cinema 4D SDK
      • python 2023 • • wuzelwazel
      8
      0
      Votes
      8
      Posts
      1.0k
      Views

      M

      Hello @wuzelwazel,

      without further questions or postings, we will consider this topic as solved by Friday 02/06/2023 and flag it accordingly.

      Thank you for your understanding,
      Maxime.

    • W

      Modifying Cinema 4D Preferences from External Python Script?

      Cinema 4D SDK
      • r23 s24 r25 python sdk • • wuzelwazel
      4
      0
      Votes
      4
      Posts
      825
      Views

      ferdinandF

      Hello @wuzelwazel,

      without any further questions or postings, we will consider this thread as solved by Friday the 4th, February 2022.

      Thank you for your understanding,
      Ferdinand

    • W

      Undo Block through Context Manager

      Cinema 4D SDK
      • • • wuzelwazel
      3
      0
      Votes
      3
      Posts
      622
      Views

      ferdinandF

      Hello @wuzelwazel,

      without further questions or postings, we will consider this topic as solved by Wednesday and flag it accordingly.

      Thank you for your understanding,
      Ferdinand

    • W

      Python API OpenGL Information

      Cinema 4D SDK
      • r23 python • • wuzelwazel
      7
      1
      Votes
      7
      Posts
      1.0k
      Views

      ferdinandF

      Hello @wuzelwazel,

      thank you for reaching out to us. I am sorry if I gave you the impression that this will be fixed with S24. This issue is still on our radar, but it does not have the highest priority. I am also unfortunately not a liberty to give you a time frame when this will be done.

      Thank you for your understanding,
      Ferdinand

    • W

      Generating Splines from JSON Data

      Cinema 4D SDK
      • • • wuzelwazel
      6
      0
      Votes
      6
      Posts
      1.5k
      Views

      M

      Hi @wuzelwazel,
      I think @zipit already did a great job and answers your questions,

      Another point that may be important for you is to turn off the interpolation of the SplineObject via splineObject[c4d.SPLINEOBJECT_INTERPOLATION] = c4d.SPLINEOBJECT_INTERPOLATION_NONE.

      But except that I don't more to optimize on the C4D side.
      Cheers,
      Maxime.

    • W

      Packed Automatic UVs Command in S22?

      Cinema 4D SDK
      • s22 • • wuzelwazel
      10
      0
      Votes
      10
      Posts
      1.3k
      Views

      DunhouD

      @ferdinand Thanks for your example,I do select a op in the OM.Last time I try it ,it did not work ,but this time it works well,I think last time I use S26 preset python text, and Optional is not import probly, anyway It's work well right now . Great thanks for you

    • W

      Ptex Shader Progress

      General Talk
      • c++ windows r21 • • wuzelwazel
      8
      2
      Votes
      8
      Posts
      1.3k
      Views

      r_giganteR

      Hi @wuzelwazel, thanks a lot for sharing your progresses on the Ptex Shader and for sharing your code.

      I've moved the thread to the more appropriate "General Programming & Plugin Discussions" hoping other developers could contribute to the discussion.

      Cheers, Riccardo

    • W

      C++ Shader Plug-In Best Practices

      Cinema 4D SDK
      • c++ r21 sdk windows • • wuzelwazel
      6
      3
      Votes
      6
      Posts
      899
      Views

      ManuelM

      hello,

      thanks @PluginStudent for the answer here 🙂

      if (obj != nullptr) // If I'm checking for nullptr could I just use if(obj) as in Python?

      The correct way is to check against nullptr, that's a c++11 standard.
      if (obj) could lead to false positive and bugs.

      String is not the same thing as maxon::String. String is the classic API while maxon::String is the Maxon API. You can read more about that in the manual about strings

      Error handling is super eady to use, we got every thing to do so, you should definitely use it. Check Our manual about Error Handling

      Last but not least you can probably use our Url class to handle file or filename. Give it a look

      Cheers,
      Manuel

    • W

      Building Cinema 4D SDK on Windows

      Cinema 4D SDK
      • r21 c++ sdk windows • • wuzelwazel
      3
      0
      Votes
      3
      Posts
      446
      Views

      W

      Thank you @m_magalhaes! I needed to open the plugins.sln solution instead of the project file. I feel like I've learned something, but I'm not sure what 👍 🤕

    • W

      SendModelingCommand Failing

      Cinema 4D SDK
      • python r21 • • wuzelwazel
      9
      0
      Votes
      9
      Posts
      1.2k
      Views

      ManuelM

      hello,

      I forgot to ask, where are you running those commands ? on a script, a dialogbox, a nodedata ?

      Thanks for your time trying to isolate the problem. Don't hesitate to send us an heavy scene, we can see why the command isn't working.

      Cheers,
      Manuel

    • W

      Issues Modifying Cloned Document

      Cinema 4D SDK
      • python r21 • • wuzelwazel
      3
      0
      Votes
      3
      Posts
      404
      Views

      ManuelM

      Hello,

      Really sorry about this issue.

      Would it be possible to send us a scene and some screenshot maybe to reproduce the behaviour ? That would be really appreciate. I will send that to our devs.

      You can use our mailbox [email protected]

      Thanks and cheers,
      Manuel