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. jenandesign
    3. Topics
    • Profile
    • Following 0
    • Followers 1
    • Topics 13
    • Posts 36
    • Best 2
    • Controversial 0
    • Groups 0

    Topics created by jenandesign

    • jenandesignJ

      using c4d.threading with (python) thinking particles

      General Talk
      • python • • jenandesign
      7
      0
      Votes
      7
      Posts
      1.7k
      Views

      ferdinandF

      Hello @jenandesign,

      Thank you for reaching out to us, I appreciate sharing your customer journey with us. I cannot make any further statements on the ongoing development of Cinema 4D, but we are of course happy to hear that you see value and potential in Cinema 4D.

      I will make sure that your input does reach the simulation Team.

      Cheers,
      Ferdinand

    • jenandesignJ

      Sampling a point in space from a userdata Field List

      Cinema 4D SDK
      • python • • jenandesign
      7
      0
      Votes
      7
      Posts
      1.0k
      Views

      ferdinandF

      Hey @jenandesign,

      you can edit your postings, just click on the three dots button below a posting of yours. You will not be able to move a post like I can, but except for that have the same options as I do:

      46c3d9dd-ed4c-4fe4-a683-684eb5553f80-image.png

      Cheers,
      Ferdinand

    • jenandesignJ

      add/remove/modify FieldList with python?

      Cinema 4D SDK
      • • • jenandesign
      5
      0
      Votes
      5
      Posts
      900
      Views

      J

      Hello @jenandesign ,

      without further questions or postings, we will consider this topic as solved by Friday, the 11th of august 2023 and flag it accordingly.

      Thank you for your understanding,
      Maxon SDK Group

    • jenandesignJ

      Python Effector as Deformer w/ Fields shows in viewport but does not render

      Bugs
      • python 2023 sdk • • jenandesign
      3
      0
      Votes
      3
      Posts
      763
      Views

      J

      Hello @jenandesign ,

      without further questions or postings, we will consider this topic as solved by Friday, the 11th of august 2023 and flag it accordingly.

      Thank you for your understanding,
      Maxon SDK Group

    • jenandesignJ

      USDA support for Redshift Materials?

      General Talk
      • • • jenandesign
      3
      0
      Votes
      3
      Posts
      586
      Views

      jenandesignJ

      Thanks for the response @i_mazlov !

      That's what I figured, based on what the RS team told me. I am definitely wondering about RS native materials 😄

    • jenandesignJ

      baking material channel and applying result to another material from python tag

      Cinema 4D SDK
      • python r25 • • jenandesign
      9
      0
      Votes
      9
      Posts
      1.1k
      Views

      ferdinandF

      Hello @jenandesign,

      without any further questions we will consider this topic as solved by Friday, December the 17th.

      Thank you for your understanding,
      Ferdinand

    • jenandesignJ

      Generating a usable spline with a Python Generator

      Cinema 4D SDK
      • • • jenandesign
      3
      0
      Votes
      3
      Posts
      670
      Views

      ferdinandF

      Hi,

      without further feedback, we will consider this thread as solved by Wednesday and flag it accordingly.

      Cheers,
      Ferdinand

    • jenandesignJ

      Feature request: Quaternion Matrix Mix to XPresso "Mix" Node

      General Talk
      • • • jenandesign
      2
      1
      Votes
      2
      Posts
      550
      Views

      ferdinandF

      Hi @jenandesign,

      thank you for sharing your little setup. I think your suggestion is great, but the problem is: We cannot handle feature requests in the SDK-team which are not directly concerned with one of the APIs. And although Cinema's old node editor is kind of "coding-related", it is in the end not directly related to one of Cinema's SDKs, which is the ground we do cover here. So I would have to ask you kindly to bring up your suggestion with Maxon's end user support, as they do handle these kind of requests.

      Cheers and thank you for your understanding,
      Ferdinand

    • jenandesignJ

      Issues with the C4D to Unity Import python plugin - missing some types of objects

      Cinema 4D SDK
      • python • • jenandesign
      13
      0
      Votes
      13
      Posts
      2.2k
      Views

      M

      SaveDocument is already present in the original code in the extended threading class "ExportThread"

      TO not make it happens in a thread.
      So to directly execute it in ExecuteConversion.

      The use of SendCoreMessage is a way, from a thread (and it's the case for you in ExportThread::Main) to send a message, that Cinema 4D will process on the Main thread (I didn't use in my code because in my case I'm in the main thread).
      So you can react to this message and do something (in your case SaveDocument). It was just for your information, regarding what's your thread is doing (only calling SaveDocument) I would say that using a thread here make no sense, and you should directly call SaveDocument in your ExecuteConversion function.

      Hope it's more clear.
      Cheers,
      Maxime.

    • jenandesignJ

      Why does dragging parameters into the script window now also carry the object types name beforehand?

      Cinema 4D SDK
      • • • jenandesign
      2
      0
      Votes
      2
      Posts
      376
      Views

      r_giganteR

      Hi Jenandesign, thanks for reaching us.

      With regard to your request, the reason of the change is due to the new Python console brought out since R20 where by dragging a parameter from the UI in the console provides the user with the complete "route" to propelry evaluate the parameter.

      This is by design and won't be reverted back in future releases.

      Best, Riccardo

    • jenandesignJ

      Method to access CAMorphNode pointdata reference index?

      Cinema 4D SDK
      • • • jenandesign
      3
      0
      Votes
      3
      Posts
      697
      Views

      jenandesignJ

      THank you so much! 😸

    • jenandesignJ

      Creating a material and applying to BaseObject within Python Generator

      Cinema 4D SDK
      • python • • jenandesign
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      S

      Hello,

      you cannot create a Material in the main() function of a Python Generator object.

      The main() function of the Python Generator object defines a cache of "virtual" BaseObjects which will appear in the scene.

      Materials cannot be created this way. A material must be inserted into the BaseDocument. This must only happen from the main thread, typically in reaction to some user interaction.

      One way of doing this would be to add a user data button to your Generator. Then your user could simply press that button to create the needed materials. Pressing the button can be detected by implementing the message() function.

      This could look like this:

      def main(): # search for material mat = doc.SearchMaterial("Generator Material") if mat is None: return None # create object cube = c4d.BaseObject(c4d.Ocube) # apply material ttag = cube.MakeTag(c4d.Ttexture) ttag[c4d.TEXTURETAG_MATERIAL] = mat return cube def message(id, data): if id == c4d.MSG_DESCRIPTION_COMMAND: buttonId = data['id'] # check button ID if buttonId[1].id == 1: # create material and insert it into the host document c4d.StopAllThreads() material = c4d.Material() material.SetName("Generator Material") material[c4d.MATERIAL_COLOR_COLOR] = c4d.Vector(1,0,0) doc.InsertMaterial(material, None) c4d.EventAdd()

      Also, please use the Q&A system.

      best wishes,
      Sebastian

    • jenandesignJ

      Sampling the falloff of a mograph effector? (python/R19)

      Cinema 4D SDK
      • • • jenandesign
      4
      0
      Votes
      4
      Posts
      1.6k
      Views

      jenandesignJ

      @m_adam Wow, this is truly great. What a fantastically written response, I really appreciate it! Learning a bunch from this example, way more than I asked for. 😄

      Thanks again

      Jenny

      P.S. if only the py4d documentation had examples like this, we would all be better programmers 😋