CommandData trigger from GeDialog
- 
Hi,
AGeUserAreacan trigger its parentGeDialogvia aSendParentMessagewhich needs to be handled inGeDialog::Command.
Is there something similar to let aGeDialogtrigger its parentCommandData?
Or is the only way to go viaCallCommand? - 
Hi,
I have some trouble understanding your question. A
GeDialogcan be in a child relation to anotherGeDialog, but not to aCommandDatanode (at least out of the box). So I am uncertain if you actually meantCommandData, the plugin node type, or misspoke and meantCommand, the method ofGeDialog, and thereby were referring to hierarchically linked dialogs.CommandData::Execute: Since such a plugin can have a dialog, but does not have to, I am also a bit confused about the question here. I assume you are aware that you could store a reference to the instantiatingCommandDatanode in yourGeDialogand then invokeCommandData::Executeon your plugin node yourself. The call only takes a document, so not too hard to emulate.CallCommandwould be probably easier, but might have some unwanted overhead.GeDialog::Command: Also a bit confused here. Isn't it already the case, that messages are being propagated through hierarchically linked dialogs? Can't test it right now, but I would have sworn that this is the case.
Cheers,
zipit - 
Yes I meant
CommandData.
I know not everyCommandDatadoes need to have aGeDialog, but if aGeDialogexists it usually has aCommandDataas "parent", hence the wording I used.And no I don't want to invoke
CommandData::Execute(norExecuteSubIDetc ...). That is why I was wondering if there was another way than going viaCallCommand, as this triggers theExecute/ExecuteSubID. - 
@C4DS said in CommandData trigger from GeDialog:
And no I don't want to invoke
CommandData::Execute(norExecuteSubIDetc ...)Hm, I might be extra slow today, but what were you then referring to with "trigger its parent CommandData" in your original posting - if it wasn't
CommandData::Execute? Or do you want the node to be executed, but just do not want to invoke the execution yourself?But long story short, I am not aware of any builtin references to a hosted dialog in a
CommandDatanode, so one is not aware of the other out of the box.Cheers,
zipit - 
Hi,
thanks @zipit once again

I'm also a bit confused on what you are trying to do.
As @zipit said, you could have a pointer to your command in your Dialog and call what ever you want.If you really need one function you added in your
CommandDatayou can think about making it static. Or redesign your functions.Cheers,
Manuel.
 - 
Nevermind. Trying to explain will probably lead us too far. I was only wondering if messaging was possible between a
CommandDataand itsGeDialog.