How can I get the Inexclude date changed when drag or use straw?
-
Hi community,
I create a InExcludeData GUI ,but I cann't find the msg of the drop event, can we get the data change when we drop a object or use the straw tool?
- get a drag object data in first Gadget
- get object who select by the straw of the newt Gadget
Cheers~
DunHou -
Hi DunHou,
Your question would have been making more sense with the code snippet showing the context.
Assuming that you're operating in the GeDialog rather than in the Description, you can make use of GeDialog.Command(), which catches the user clicks on the gadget (you'd need to check for the id of your InExclude gadget). At this point you can access the InExclude object via msg[c4d.BFM_ACTION_VALUE].
Unfortunatelly, there's no built-in event that gives you the list of objects, so you need to keep track of what has been changed after user's interaction yourself.
Cheers,
Ilia -