2
$\begingroup$
Description

I have 1 function that bends about 10 meshes with SimpleDeform. Each driver calculates distance from object (white box) and changes modifer strength.

Question

Can I define python variable in global scope or any other matter that can be uses in drivers? Its bit more elegant than adding another box to tweak constant value in each driver.

Deformed Mesh

Driver formula

$\endgroup$

1 Answer 1

4
$\begingroup$

bpy.app.driver_namespace, resets on file load.

$\endgroup$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.