To be more clear for what i need exactly,
I working on script addon
And the first thing need append Body object
And then adjust the Size value and then will append the Cloth object
And when append cloth object I need take size with same value in body object size shape key
Okay then
Say we have objects ‘source’ and ‘target’, with shapekeys named ‘SIZE’.
Once you set source value by whatever means (in this case I’m just copying from source object), you can use it to write into Target like so:
Uhhh, well, that depends on your script.
This code is only meant to show how to access shape key values of given objects.
Naturally, being a simplified example, it should be re-written to fit your case (the way you add your objects and set their data, how/when you execute the script, etc).
I should think it should be somewhere after you add the first object and set its shapekey value and before adding the second.
True, but it’s written like that for readability: “this is how you read a value” and “this is how you write a value” sort of way, for educational purposes Dividing info into relatively simple logical chunks tends to produce better results when explaining anything