THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/10/2011 at 16:35, xxxxxxxx wrote:
I need an example how to do the exact same thing as the
default Python Generator Object but as an ObjectGenerator PyPlugin.
That is, return a default Cube.
No extra settings or anything.
I've copied the "DoubleCircle" py example as I want to
make a spline generator. Have my own ID for it.
I have it all working in a PythonGenerator
but can't for the life of me get it to return anything in a Plugin object Generator!
So to get the basics of Object Generators (I've only been doing
Tag plugins till now) it would be of great help to see
a working example of returning a default object.
Cheers
Lennart