THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/12/2004 at 15:49, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.206
Platform:
Language(s) : C.O.F.F.E.E ;
---------
Hi,
Im am currently creating a ExpressionTagPlugin in COFFEE.
I would like to have some kind of dialog with settings for my tagplugin.
To do this I have simply created a GeDialog object, and opened the dialog in TagPlugin::Edit()
My problem is that I don't know how to pass data from this dialog back to my TagPlugin. Because obviously I want my TagPlugin to read the settings in the dialog.
I did a hack and stored the settings in member variables of the dialog class, and wrote functions to return those variables. This worked just as long as the dialog wasn't closed (then my variables were reset)
I was hoping for some way to pass the BaseContainer of the TagPlugin to the Dialog. The Dialog would fill this BaseContainer, and my plugin would simply read the data from the BaseContainer.
But with my poor knowledge of COFFEE and Dialogs, I have had a bit of trouble working this out.
Any help is appreicated