Accessin a other plugins member variables
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/09/2004 at 15:12, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.206
Platform:
Language(s) : C++ ;---------
My plugin i am creating uses a linked list to hold information about certain objects. The linked list is a public member variable of a Object Data plugin.Now I would like to be able to access this link list from another plugin I develope, but im not sure how I can access the linked list from the other plugin.
Any ideas?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/09/2004 at 18:46, xxxxxxxx wrote:
You could define your class in the other plugin and just cast it from the retrieved plugindata ( I thinks ). As I have told others, unless it is repeated insane speed issue use messaging. Simple, effective, and works. Of course you have to create a message for this to work. I use a BaseContainer for data and store the message function id in there as element 1000 and pass back info through BaseContainers only. Never had a problem.
darf
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/09/2004 at 19:38, xxxxxxxx wrote:
Yeah I can second that. Use messaging in my plugins too and it´s a fast and easy way to exchange data.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/09/2004 at 03:08, xxxxxxxx wrote:
Thanks guys. Two good minds suggest messaging. I'll see what I can cook up!