Access dialog outside module



  • On 15/02/2018 at 04:08, xxxxxxxx wrote:

    Hi everyone,

    I'm trying to access a dialog's static text value from a different module.
    Is there a specific way inside Cinema to do this please?
    Or do you just have to import the module that contains the dialog creation and access the class?

    Apologies if it sounds like a dumb question.

    Thank you in advance! 🙂

    Andre



  • On 20/02/2018 at 05:15, xxxxxxxx wrote:

    Hi Andre,

    sorry for having you wait so long. My fault!

    I think, you want to look into SpecialEventAdd(). The events posted by this function will be received in Cinema 4D's main thread, either in GeDialog.CoreMessage() or MessageData.CoreMessage().
    This can be used to establish a communication between different modules, even though the amount of data such an event can carry is a bit limited. So it will rather be a notification that new data may be consumed from a predefined place, rather than actually transmitting the data.



  • On 21/02/2018 at 01:13, xxxxxxxx wrote:

    Hi Andreas,

    Don't worry at all! I'm sure you're a busy guy! 🙂

    Thank you very much for your help. Will give it a try.

    Have a great day!

    Andre


Log in to reply