Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. Gaal Dornik
    3. Topics
    The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 26
    • Groups 0

    Topics

    • G

      How to weld two points to the last selected point?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK windows s26 2023 python
      5
      0 Votes
      5 Posts
      1k Views
      i_mazlovI
      Yes, you found the thread about point selection just right!
    • G

      GetActiveToolData() doesn't work for Mirror Tool

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK windows s26 python 2023
      5
      0 Votes
      5 Posts
      930 Views
      G
      I want to mirror a polygon selection along specified modeling axis, but i'm kinda stuck since i can't apply the dedicated Mirror Tool, the basic Scale Tool also doesn't allow to set the tool settings...
    • G

      How to Apply a modeling command?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK s26 windows python
      3
      0 Votes
      3 Posts
      561 Views
      G
      Thanks man, i'll take a look at it!
    • G

      How to create a radial (pie) menu?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK windows s26 python
      6
      0 Votes
      6 Posts
      2k Views
      G
      Thanks for your detailed answers, i hoped there is a simpler way to do it)... Pie menus is a very common thing nowadays, why maxon developers haven't implemented it already? In modo for example you can create pie menus, popups...etc without any coding. Not every user is ready/have the time/etc to learn python to build a simple popup, but almost every user needs to customize their working software. I really hope you'll implement these features soon.
    • G

      Command Make Editable confusion

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK s26 windows python
      4
      0 Votes
      4 Posts
      785 Views
      G
      Got it! Thanks.
    • G

      Howto add headers & dividers for a ShowPopupDialog?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK windows s26 python
      13
      0 Votes
      13 Posts
      2k Views
      G
      It works as expected in C4D 2024, but not in the previous versions.
    • G

      Lasso Selection Tool MDATA_SELECTION_VISIBLE Setting Doesn't Work

      Watching Ignoring Scheduled Pinned Locked Moved Bugs python s26 windows
      2
      0 Votes
      2 Posts
      743 Views
      i_mazlovI
      Hi @Gaal-Dornik , Thanks for reaching out to us. Please excuse the delay. This issue is now tracked via internal bug tracking system. Thread is tagged to_fix, so that the thread can be tracked more closely. Cheers, Ilia
    • G

      ModuleNotFoundError, but the file is in the same folder

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK windows python s26
      3
      0 Votes
      3 Posts
      561 Views
      G
      I see, thanks. But honestly i don't get it why the plugins folder isn't in the search path...
    • G

      Howto to pass arguments to a python script

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python windows
      4
      0 Votes
      4 Posts
      561 Views
      ferdinandF
      Hey @Gaal-Dornik, In Cinema 4D you can bind a command to multiple shortcuts, but adding arguments is not possible. You would have to poll the keyboard yourself to distinguish such events. Cheers, Ferdinand Result: [image: 1696252767040-49a4bee1-8135-412f-b238-43d21184e071-image-resized.png] Code: """Runs different code based on which keys are pressed. Must be run as a Script Manager script. Pressing Shift+ALT+A while the script is invoked will print "Foo", while pressing Ctrl+Alt+A will print "Bar". See: https://developers.maxon.net/docs/py/2024_0_0a/misc/inputevents.html """ import c4d def CheckKeyboardState(*args: tuple[str]) -> bool: """Returns #True when the given key sequence is pressed, #False otherwise. """ result = [] for char in (n.upper() for n in args if isinstance(n, str)): if char == "SHIFT": c = c4d.KEY_SHIFT elif char == "CTRL": c = c4d.KEY_CONTROL elif char == "ALT": c = c4d.KEY_ALT else: c = ord(char) bc = c4d.BaseContainer() if not c4d.gui.GetInputState(c4d.BFM_INPUT_KEYBOARD, c, bc): raise RuntimeError("Failed to poll the keyboard.") result += [True if bc[c4d.BFM_INPUT_VALUE] == 1 else False] return all(result) def main() -> None: """ """ if CheckKeyboardState("Shift", "Alt", "A"): print ("Foo") elif CheckKeyboardState("Ctrl", "Alt", "A"): print ("Bar") else: print("None") if __name__ == '__main__': main()