SOLVED Spline Generator based on Generator

Based on script provided by @m_adam at another topic
I've noticed if child object is a generator object, then on child properties change GetContour is called.
For example if position changed by dragging object in the viewport - child object become visible (until mouse button is released).
How to hide child objects during interaction as well as GetVirtualObjects do this normally?


Hi Thanks a lot, I've updated the code in the linked post.

I used Global Matrix while I should use the Relative Global Matrix BaseObject.GetUpMg.
For the display issue, the issue comes from the fact that the script clones the object and inserts the object in the current document in order to keep link alive (e.g tracer). So the solution is to Touch the object in the GetContour Method.


@m_adam Oh, yes! Thanks, it works just fine.