0
$\begingroup$

I used the driver constraint addon to connect the shapekeys to the bones. The shapekeys come from the manuel bastioni lab and the bones from rigify. I've used two armatures and I have connected them into one only armature called rig. Now I'm trying to use the addon to constraint the bones because I want that when I use the shapekeys also the bones move. The final goal is to convert the shapekeys library into a pose library faster. The problem is that when I go on a shapekey and I do "copy data path",the value copied is not good and it can't be used with the driver contraint addon. It sounds like this : active_shape_key_index ; instead this value should return the name of the shakepey. Anyway,when I use this value the error given is : "bpy_structdriver_add() properly "active_shape_key_index" not animatable". Instead,If i use the name of the shapekeys,the error is "property has not been found".

You can watch what happens going here : (also the blender file is there)

https://drive.google.com/open?id=1E4mUhKuKBTZQoIwfnWIGcV6xp8NSgqxb

$\endgroup$
1
$\begingroup$

you made a little mistake in the process of setting up the driver.

You need to copy the datapath of the value. Not the shapekey name. You need to rightclick on the digits and then copy the datapath.

That should do the trick. Then the addon should recognize that you want to key the shapekey value.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Howdy ndee. Can you elaborate a little on this?, particularly on the data_path. $\endgroup$ – batFINGER Jun 1 '18 at 8:51
  • $\begingroup$ The correct data path is my case is on the value field,not on the shapekey name field. But it seems that in your tutorial you have taken this value from the shapekey name field. watch at 29s of your tutorial :youtube.com/watch?v=OV0gcfXQgAQ&t=29s $\endgroup$ – Marietto Jun 1 '18 at 14:26
  • $\begingroup$ this is the reply that manuel bastioni gave to me : After finalization,the characters of the lab become standard models, so (apart from the use of the "after creation tools") they are no longer linked to the lab and usually the generic problems depend on Blender or the other addons. To be sure I did this test: starting from an empty scene I created a cube and added a shapekey: also in this case the copy data path always gives me the same "active_shape_key_index", so it would seem to be a generalized behavior of Blender. $\endgroup$ – Marietto Jun 1 '18 at 14:28
  • $\begingroup$ @batFINGER The DriverConstraint Addon takes a data_path of an object value and that way it can create a driver for that particular value. The addon supports almost any property. By having a dual selection of object and for example a bone, the addon sets everything up for you. $\endgroup$ – ndee Jun 2 '18 at 11:55
  • $\begingroup$ @Marietto In the video I rightclick on the value. It should work with any rig. You can even use other objects transormations as driver for values. Did you get it to work? $\endgroup$ – ndee Jun 2 '18 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.