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. fkenned1
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    fkenned1

    @fkenned1

    0
    Reputation
    2
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    fkenned1 Unfollow Follow

    Latest posts made by fkenned1

    • Need help creating a non-modal dialog the can accept a drag and drop property reference

      I've noticed that when you drag an object's property label (for example, the segments Y of a cube object) into the python Script Manager window, it makes a reference to the object and property - Cube[c4d.PRIM_CUBE_SUBY].

      I'm trying to get a link to this property reference so I can reference it elsewhere. Ideally, I'd like to have a non-modal dialog pop up that allows me to drag and drop this property label onto it, and then send that reference elsewhere. Is this something that could be possible?

      So far I've created a non-modal dialogue with a multiline text input box, but when I drag the property reference into it, all it displays is a generic reference to the property (PRIM_CUBE_SUBY vs. Cube[c4d.PRIM_CUBE_SUBY] that I want). How would I get the window to grab the whole reference. And even better, how could I make this a drag and drop window that prints that reference to the console (instead of a text box).

      posted in Cinema 4D SDK python 2023
      F
      fkenned1