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. InterfaceGuy
    I
    • Profile
    • Following 0
    • Followers 0
    • Topics 14
    • Posts 25
    • Best 0
    • Controversial 0
    • Groups 0

    InterfaceGuy

    @InterfaceGuy

    0
    Reputation
    13
    Profile views
    25
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    InterfaceGuy Unfollow Follow

    Latest posts made by InterfaceGuy

    • RE: Change icon of python script in UI palette

      Thank you so much!
      In the future I'll be more mindful to post in the right category 🙂

      posted in General Talk
      I
      InterfaceGuy
    • Change icon of python script in UI palette

      Hello everyone

      I'm wondering if it is possible to do the following:
      For the work I'm doing I have a growing set of python scripts that when executed generate custom objects setups using c4d base objects and xpresso
      I'm able to include these scripts in the UI which allows me to treat them like buttons for regular c4d objects
      The only thing that's missing is the ability to change the icon of the script to a png file that's stored alongside it in its designated folder
      Is there a simple/tangible way to achieve what I'm looking for?

      Screenshot 2024-05-23 at 13.07.44.png

      Thanks

      posted in General Talk python macos
      I
      InterfaceGuy
    • SplineMask Render Visibility Not Working

      Hello,

      I think I found a bug with the SplineMask and Sketch and Toon material.
      When I apply the material to it, turning its render visibility off doesn't do anything.

      To replicate:

      • create a spline mask with e.g. a rectangle and a circle as children
      • apply a sketch and toon shader to it
      • try turning off the visibility in renderer

      With regular splines, MoSplines etc. it works as expected.

      Am I missing something?
      If so, help would be appreciated, if not I hope it gets fixed soon.

      Thanks

      posted in General Talk s26
      I
      InterfaceGuy
    • RE: Access Spline Field Parameters with XPresso

      Thank you for the elaborate reply, it worked! (And helped me to better understand the desc id system)

      posted in Cinema 4D SDK
      I
      InterfaceGuy
    • Access Spline Field Parameters with XPresso

      Hello,

      I want to create an xpresso which accesses the offset parameter of a spline field layer in a plain effector. This proves to be more difficult than I thought because, unlike e.g. a linear field, the spline field layer is not a regular object in the hierarchy.

      Naively I thought this would work with the general pattern of adding a port to the xpresso node using the description id:

      offset_port = gv_node.AddPort(c4d.GV_PORT_INPUT, DESC_ID_OF_PARAMETER )
      

      But I don't know what the description id should be in this case. Or if that is even the right way to go in this situation.

      Dragging the parameter into the console returns:

      Plain[c4d.FIELDS,11,1011]
      

      Help is appreciated

      posted in Cinema 4D SDK python s26
      I
      InterfaceGuy
    • RE: Strange Bug with Correction Deformer and Bounding Box Node

      Oh yes that's a much better approach!

      I will provide executables from now on, sorry for the trouble

      To be honest I was just stuck in an inaccurate frame for how to solve this... thanks for breaking it 🙂

      posted in Cinema 4D SDK
      I
      InterfaceGuy
    • Strange Bug with Correction Deformer and Bounding Box Node

      Hey there,

      I am making use of the trick where I put a correction deformer under a generator (extrude object in this case) to make it readable by the bounding box xpresso node

      However, for some strange reason it only works when I add the deformer manually to the scene.
      Using python to create the object somehow makes it impotent for this method.
      Even dragging it out of the hierarchy and back in again, refreshing xpresso etc. doesn't help with the problem.

      Only creating a new deformer manually seems to do the trick.

      Please help me make sense of this and fix it.

      Thank you

      posted in Cinema 4D SDK s26 python
      I
      InterfaceGuy
    • RE: Set IRR settings

      Works like a charm, thank you!

      posted in General Talk
      I
      InterfaceGuy
    • Set IRR settings

      Hello,

      in this thread it is explained how to set the size of the IRR.

      I would also like to set parameters like the resolution.

      When dragging the GUI element into the console it says:

      Sniper[c4d.IRR_DETAIL]
      

      and when I execute it without the ID I get

      >>> Sniper 
      <c4d.BaseList2D object called Sniper/Sniper with ID 430000000 at 4756143680>
      

      How can I get access to this inside a script?

      Thank you!

      posted in General Talk
      I
      InterfaceGuy
    • RE: How to Manually Build the Cache for a Vector Import Instance?

      works like a charm, thank you!

      posted in Cinema 4D SDK
      I
      InterfaceGuy