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).