On 15/03/2013 at 16:38, xxxxxxxx wrote:
Hello Niklas,
yes, you are right. The example isnt meaningful. Id like to do something like this:
class PlgTAG(plugins.TagData) :
list_ = []
def Init(self, node) :
return True
def Message(self, node, type, data) :
return True
def AnyFunctionToDefineList(self, ... ) :
self.list_ = ["Hello", 12.3, "Everybody"]
PythonTag
import c4d
#Welcome to the world of Python
def main() :
tag = The plugintag
list_ = tag.GetTheListSomehow()
Do stuff with list_