i got a plugin with a field input. if i create a new field object, cinema automatic create its as a child. is there a way to force new field objects spawns nexts to my plugin not under ?
Solved Avoid creating new field object as child from plugin
There's no parameter or way to do it, you have to do it yourself.
Of course this will modify the scene, so you have to be sure you are on the mainthread. (don't do it on GetVirtualObject)
you can override the GetDParameter function so you will know when a parameter is modified.
You have to check for each fields if the field object is a child or your plugin. (just retrieving the field object and comparing the GetUp() object with your plugin should be enough)
to retrieve the object you have to use GetLInkedObject
so it might be an easier solution to just iterate over all childs from my generator plugin and check for the first BaseMesh.
User can drag and drop the field in the hierarchy and in the field list. So you should have to check every child or every entry in the field list.
without any further feedback from yourself, i'll set this thread as solved tomorrow :)