How to pass string between operators?
I am working on an extension where I will define a model in a string with some operator and then pass the model to a Python operator to parse the model. I noticed that I can only deliver IOObject through the output ports, how can I pass a string between ports? How can I pass a string from self-defined operators to a Python script operator as input?
0
Best Answers
-
jwpfau Employee, Member Posts: 264
RM Engineering
Hi,
what you could also try:
- Generate the complete python code and pass it as a FileObject (for the scr port) or call the Execute Python operator from your code
- Use Macros
Greetings,
Jonas0
Answers
Could you give me some examples? I still have no idea.