Navigation

    • Register
    • Login
    • Search
    • Categories
    1. Home
    2. Tags
    3. request
    Log in to post

    • UNSOLVED Request: Combobox Icons
      Cinema 4D Development • sdk api r23 documentation request • • blastframe  

      6
      0
      Votes
      6
      Posts
      87
      Views

      @blastframe said in Request: Combobox Icons: @zipit "it would be impossible for a developer to know otherwise from just the documentation." Hi @blastframe, I was just a bit cheeky ;) The C++ GeDialog Manual shows how to embed an icon via its address (which works similarly), but is not a replacement for the Python docs and explaining it properly in one place. So no worries, I agree with you that this should be improved upon. Cheers, Ferdinand
    • SOLVED Ability to set DLG_TYPE_ASYNC Width & Height
      Cinema 4D Development • sdk request • • blastframe  

      5
      0
      Votes
      5
      Posts
      77
      Views

      @m_adam that is excellent! Thank you for going into old code to find it Can I change the request to a centered version of this, please? Maybe xpos=-4, ypos=-4? Thank you!
    • 'SetRealTag' Request
      Cinema 4D Development • python sdk request • • blastframe  

      3
      0
      Votes
      3
      Posts
      42
      Views

      @m_magalhaes Hi Manuel! Thanks for the update.
    • .

      OBJ Export Options
      Cinema 4D Development • python r23 documentation request • • .del  

      10
      0
      Votes
      10
      Posts
      74
      Views

      .

      Thanks for looking at it Manuel. Sounds like your getting the same behavior I'm seeing. I'll add something to my script to parse it out. Thanks Manuel and Cairyn for taking time to help. .del
    • UNSOLVED Adding Keyboard Message: KEY_ENTER & KEY_TAB
      Cinema 4D Development • python api request • • blastframe  

      4
      0
      Votes
      4
      Posts
      57
      Views

      M

      hi, @indexofrefraction, as @blastframe said, let's keep that thread clean and ask your question in another thread, this is working on my system. @blastframe , we will take into consideration your request. Cheers, Manuel
    • SOLVED Delete Third-Party-Tags?
      Cinema 4D Development • python classic api request • • lasselauch  

      6
      0
      Votes
      6
      Posts
      225
      Views

      M

      hi, I didn't tested it, but that's probably the result of the c++ function. So fixing it for the c++ function will fix it for python. I don't know if you can access easily __file__ from c++ and python's object. Cheers, Manuel
    • Requests for GeClipMap Class
      Cinema 4D Development • python api request • • blastframe  

      3
      0
      Votes
      3
      Posts
      51
      Views

      @m_magalhaes Thanks, Manuel!
    • Get Active Timeline Request
      Cinema 4D Development • python sdk request • • blastframe  

      7
      0
      Votes
      7
      Posts
      100
      Views

      Indeed a better sdk will be better. I actually also hope that sdk can recognize which parameters of the object are activated in the object manager. I know that because c4d supports opening multiple object managers at the same time, this is really convenient. But it will also make it impossible to know which object manager the user is using, so there is no way to identify it in the current SDK.
    • How about updating ResEdit..?
      Cinema 4D Development • python 3d concept request feedback • • lasselauch  

      2
      0
      Votes
      2
      Posts
      56
      Views

      M

      Hi @lasselauch there is actually no plan to update ResEdit. There is the R20 Resource Editor but for the moment it's only for Node stuff. Cheers, Maxime.
    • UNSOLVED How to Solo a Layer
      Cinema 4D Development • python documentation request feedback • • dskeith  

      3
      0
      Votes
      3
      Posts
      84
      Views

      Hi @dskeith thanks for reaching out us. As pointed out by @PluginStudent, the NBIT_SOLO_LAYER behavior is explained in the Layer Manuel although it make sense to add a note to the Python API as well. With regard to a complete example, I've partially reworked your code to make sure that by executing the script multiple times you can run across all the solo configurations that the scene can handle. import c4d # Main function def main(): layer_root = doc.GetLayerObjectRoot() if not layer_root: return # Get the first layer in the scene layer = layer_root.GetDown() if not layer: return soloSet = False while layer is not None: # Set `rawdata` to True flag so to get the original layer values without any additional global changes layer_data = layer.GetLayerData(doc, rawdata=True) # check the current layer solo state: if layer_data["solo"] == False: # if not "solo" then set to True layer_data["solo"] = True # update the layer layer.SetLayerData(doc, layer_data) # update the flag soloSet = True break # deactivate if layer solo was True layer_data["solo"] = False layer.SetLayerData(doc, layer_data) # go to next layer layer = layer.GetNext() # if one (or more) solo was set the set NBIT_SOLO_LAYER otherwise clear if soloSet == True: doc.ChangeNBit(c4d.NBIT_SOLO_LAYER, c4d.NBITCONTROL_SET) else: doc.ChangeNBit(c4d.NBIT_SOLO_LAYER, c4d.NBITCONTROL_CLEAR) # Add an event c4d.EventAdd() # Execute main() if __name__=='__main__': main() Cheers
    • SOLVED How do I access Redshift AOV settings from Python?
      Cinema 4D Development • python r21 sdk application development request • • jcooper  

      3
      0
      Votes
      3
      Posts
      148
      Views

      Wow, thanks for the example, @r_gigante. Was it always possible to import a redshift module? Or is there any info from which version on (C4D / Redshift) this is possible!? Thanks, Lasse
    • SOLVED Catch InputDialog Cancel?
      Cinema 4D Development • python request • • dskeithbuck  

      3
      0
      Votes
      3
      Posts
      236
      Views

      M

      Hi Donovan, unfortunately, there is no change in this regards. The best way is still to check for an empty return value or either creates your own dialog. I've filled a feature request. Cheers, Maxime.
    • SOLVED Using c4dpy to show Class Documentation?
      Cinema 4D Development • python request • • dskeithbuck  

      3
      0
      Votes
      3
      Posts
      365
      Views

      Hi Maxime - thank you very much for the response, and I'm glad to hear you're considering it for the future.
    • F

      FileSelect for multiple files
      Cinema 4D Development • api limitation request • • fused  

      2
      0
      Votes
      2
      Posts
      256
      Views

      Hi, yes, you are right, this is currently not supported. I have filed an "idea" for our development. Cheers, Andreas
    • G

      SOLVED Want to show text in dialog box similar to "Help" menu of Cinema 4D(only text)
      Cinema 4D Development • sdk r19 microsoft windows application development request • • gogeta  

      3
      0
      Votes
      3
      Posts
      413
      Views

      G

      @s_bach Wow! I didn't see that coming. Thanks for the clear-cut explanation. Now I know in which direction I have to move. Thanks again !