Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login
    1. Home
    2. Cinema 4D SDK
    Log in to post
    Load new posts
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • P

      R21 Opencl issue

      r21 • • pim
      3
      0
      Votes
      3
      Posts
      166
      Views

      ManuelM

      hello,

      I'll mark this thread as solved tomorrow if you have nothing to add.

      Cheers,
      Manuel

    • P

      Interact with Plugin Dialog [R21][Win][python]

      python r21 r20 r19 • • ph1lh00k
      7
      0
      Votes
      7
      Posts
      364
      Views

      ManuelM

      hello,

      I'll mark this thread as solved tomorrow if you have nothing to add.

      Cheers,
      Manuel

    • G

      Drag and Drop onto Range Slider

      python r19 • • gsmetzer
      15
      0
      Votes
      15
      Posts
      724
      Views

      ManuelM

      hello,

      I'll mark this thread as solved tomorrow if you have nothing to add.

      Cheers,
      Manuel

    • W

      Issues Modifying Cloned Document

      python r21 • • wuzelwazel
      3
      0
      Votes
      3
      Posts
      189
      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

    • C

      This topic is deleted!

      • • c4dmac
      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • RenatoTR

      Retrieve the Surface Point of current RayObject from an arbitrary UV value.

      • • RenatoT
      5
      0
      Votes
      5
      Posts
      281
      Views

      RenatoTR

      @m_magalhaes said in Retrieve the Surface Point of current RayObject from an arbitrary UV value.:

      feel free to mark this thread as "solved"

      how? 🙂

      Edit: Solved done 🙂

    • B

      Inherit Default Object Creation Behavior in the Palette?

      r21 python • • bentraje
      9
      0
      Votes
      9
      Posts
      296
      Views

      B

      @s_bach

      Thanks for the clarification

    • T

      Python Plugin Missing

      • • terrachild
      11
      0
      Votes
      11
      Posts
      938
      Views

      ManuelM

      hello,

      I will considered this thread as solved tomorrow if you have nothing to add.

      Cheers,
      Manuel

    • mfersaouiM

      Displaying the texture baking progress preview.

      c++ python sdk • • mfersaoui
      14
      0
      Votes
      14
      Posts
      550
      Views

      ManuelM

      hello,

      I will passed this thread as solved tomorrow if nothing to add.

      Cheers,
      Manuel

    • B

      Unable to Detect Mouse Click

      r21 python • • bentraje
      7
      0
      Votes
      7
      Posts
      467
      Views

      ManuelM

      hello,

      Please @unti open your own thread. The context is maybe a bit different and your question is a bit different.

      Cheers,
      Manuel.

    • P

      GetContour and GetVirtualObjects in one Plugin

      python • • pyr
      4
      0
      Votes
      4
      Posts
      371
      Views

      P

      @rsodre works flawless!

    • G

      Delete marker with python

      • • gsmetzer
      3
      0
      Votes
      3
      Posts
      368
      Views

      G

      Thank you @m_adam

      markers[0].Remove()

      worked in the Python Generator without crashing. I hope it isn't stupid to try this. I do plan on converting it to a plugin. Thanks, you can solve this question.

    • mfersaouiM

      Re-Initialize dialog if already opened

      python sdk • • mfersaoui
      3
      0
      Votes
      3
      Posts
      173
      Views

      mfersaouiM

      @m_magalhaes
      Hello,
      Right. Duly noted. Thanks for your time.

    • B

      How to force resize the Native and 3rd Party Plug-in Icons?

      r21 python • • bentraje
      3
      0
      Votes
      3
      Posts
      161
      Views

      B

      @m_adam

      Thanks for the response. Works as expected.

    • J

      Cloner objects missing in Commandline FBX export

      python • • janbiko
      7
      0
      Votes
      7
      Posts
      574
      Views

      ManuelM

      hello,

      this thread will be considered as "solved" tomorrow if you have nothing to add.

      Cheers,
      Manuel

    • KantroninK

      Using AddEditNumberArrows

      python • • Kantronin
      2
      0
      Votes
      2
      Posts
      160
      Views

      ManuelM

      hello,

      you have to use the step parameter as showned in the documentation here

      self.SetFloat(datafield_displacement, 1.0, min=0.0, step=0.1)

      Cheers,
      Manuel

    • CairynC

      How to layout a dialog that is smaller than its components?

      c++ python • • Cairyn
      7
      0
      Votes
      7
      Posts
      233
      Views

      CairynC

      Thanks for the confirmation. I guess I'll use an empty group then and fill in the scrolling group in the code.

    • P

      Isolating a Cloner.

      r20 python • • pim
      3
      0
      Votes
      3
      Posts
      140
      Views

      P

      Yes, I already expected that.
      One comment, the same behavior occurs when you Copy and Paste a node into a new document.

      -Pim

    • B

      How to access Built-in Icons?

      r21 python • • bentraje
      3
      0
      Votes
      3
      Posts
      156
      Views

      B

      @zipit

      I see. It's the same as the object ID. I also tried it with external plug-in icons.
      It works as expected.

      Thanks for the clarification!

    • B

      Creating a Clickable Floating GUI Dialog?

      python r21 • • bentraje
      2
      0
      Votes
      2
      Posts
      158
      Views

      B

      Stupid me. I already asked the same question a year ago here:
      https://developers.maxon.net/forum/topic/11472/dialogue-box-manager-through-plug-in-vs-vanilla-script/5

      Anyhow, for anyone interested on the working plug-in code. Here it is

      import c4d from c4d import bitmaps, documents, gui, plugins, threading, utils PLUGIN_ID = 1011323 class MyDialog(gui.GeDialog): def CreateLayout(self): #self.SetTitle('Colorizer') # Prepare a red bitmap for the button. w = 50 h = 50 bmpRed = c4d.bitmaps.BaseBitmap() bmpRed.Init(w, h) for y in xrange(w): for x in xrange(h): bmpRed.SetPixel(x, y, 255, 0, 0) # BitmapButton configuration bcBitmapButton = c4d.BaseContainer() bcBitmapButton[c4d.BITMAPBUTTON_BUTTON] = True # Add a BitmapButton to the dialog. # _bitmapButton is a member variable of the dialog class buttonId = 2000 _bitmapButton = self.AddCustomGui(buttonId, c4d.CUSTOMGUI_BITMAPBUTTON, "", c4d.BFH_CENTER|c4d.BFV_CENTER, w, h, bcBitmapButton) if _bitmapButton is None: print "Handle this error!" # Assign the image to the button. # Note: Let it create an internal copy as the created bitmap will be free'd, when scope is left. _bitmapButton.SetImage(bmpRed, True) def Command(self, id, msg): if id==2000: # corresponds to the button ID used in the code snippet in the first answer in this thread print "My Bitmap Button" return True class MyMenuPlugin(plugins.CommandData): dialog = None def Execute(self, doc): # create the dialog if self.dialog is None: self.dialog = MyDialog() return self.dialog.Open(dlgtype=c4d.DLG_TYPE_ASYNC, pluginid=PLUGIN_ID, defaultw=200, defaulth=150, xpos=-1, ypos=-1) def RestoreLayout(self, sec_ref): # manage the dialog if self.dialog is None: self.dialog = MyDialog() return self.dialog.Restore(pluginid=PLUGIN_ID, secret=sec_ref) if __name__ == "__main__": okyn = plugins.RegisterCommandPlugin(PLUGIN_ID, "Cubey",0, None, "Cubey initialized", MyMenuPlugin()) if (okyn): print "Cubey initialized"