HOW TO: Command-plugin information transfer

Post Reply
martin_st
Posts: 6
Joined: Thu Aug 19, 2010 1:59 pm
Location: Erlangen / Germany

HOW TO: Command-plugin information transfer

Post by martin_st » Thu Mar 10, 2011 11:46 pm

Hi RF-team,

I would like to do some calculations during a simulation by use of a command plugin. The problem is, that one calculation-step uses results of the step before. The use of RF globals is inefficient (or even impossible), because the data size changes dynamicaly and is to much to be stored that way. One idea was to create a special object-plugin, which is used as a virtual object, just to store data, but I can't find a way to add such an object dynamically (like done with standard objects, e.g. scene.addCube();). Do you guys have an idea how such an information transfer could be realized?

Thanks for every hint and greetings,
Martin

[edit:]
As I found out one minute ago, the cmd-plugin is not destroyed after execution of the run method. That changes some things concerning the above mentioned problems...

Post Reply