Object Data plugin not working properly

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 19/10/2012 at 17:20, xxxxxxxx wrote:

I'm creating an ObjectData plugin that should create a polygonal object.
I already made it work, kind of...
I mean, I create a polygonal object inside the GetVirtualObjects method, I fill in all the vertexes and all the faces and I return the object.
But, if I have my plugin object selected in the editor, no mesh is shown.
If I select any other object in the editor, the generated mesh appears.
Also, if I place my plugin object inside an HyperNURBS, the mesh is not smoothed.
I have to convert my plugin object into an editable object to make it work.
What am I doing wrong?

Rui Batista