SOLVED How to remove generator childs when converting via "c"

Hey,

i have built a spline gernerator that modifies a spline, when i convert the object i get my modified spline but also the hirachie remains. however i only need the new spline object.

Since GetContour() unfortunately doesn't support HirachyHelper I don't know how to hide the original objects and how to prevent the original splines from being present after the conversion.

https://gumroad.com/l/spliner

hi,

without code it will be hard to tell exactly what you are not doing correctly.
Using both GetVirtualObject and GetContour can be tricky.
You can send it to us using [email protected] if you don't want to share it here.

Something you can do is touching the objects either with a dependency list or directly.

Cheers,
Manuel

@m_magalhaes said in HOW TO REMOVE GENERATOR CHILDS WHEN CONVERTING VIA "C":

Something you can do is touching the objects either with a dependency list or directly.

Ah - i thought that touch only works with GVO. Never tried it to be honest. This solve at least the visibilty problem.

hi,

Touching an object just remove the cache of this object. (that's why it doesn't show up in the viewport).
The only important thing to do is to touch object after their cache have been build, otherwise, it will be useless.

By the way, if the spine appears when you edit your generator, it should be visible in the viewport.

Cheers,
Manuel

hi,

sorry i forgot to mention that you could have a look at our example on GitHub that offset a spline in the Y direction.

Cheers,
Manuel

forget about it. i removed the c4d.OBJECT_INPUT flag during development and forgot to add it back.