Hello everyone in Ziva Land,
I am a 3D generalist with very little rigging experience and even less experience with scripting of any kind, so please bear with me!
I have been working with Mr Ink the past couple of weeks to learn Ziva, which has been awesome (thank you, Ziva Team, for providing this great asset for everyone to learn and work with)! Though I have been figuring out a lot of things on my own by following videos and looking around the forum for guidance, I am running into a bit of a snag trying to reestablish Lines of Action when rebuilding a Ziva rig.
Let’s say I've set up my muscle/tissue Ziva rig with Lines of Action established, along with their corresponding rivets and clusters. Let's also say that I need to update my alembic bone data, which I'm using to drive my muscle set up. To do this, I have been running the following in the script editor:
import zBuilder.builders.ziva as zva
z = zva.Ziva()
z.retrieve_from_scene()
I then clear the scene of Ziva data and delete the old alembic bones, in order to import the new alembic data:
import zBuilder.zMaya as mz
mz.clean_scene()
And finally, to rebuild the Ziva data once the new alembic data is in, I input this command:
z.build()
Should the Line of Action information rebuild itself at this point, assuming no naming conventions have changed anywhere in the scene/alembic data? In my tests, all of the Line of Action curves, rivets, and clusters just sit in the scene, unaffected by the z.build() command and therefore do not reattach themselves to the Ziva rig at all.
It’s extremely possible I am missing something, as I am not a TD and this is new territory for me. Thanks so much for your feedback!