0
$\begingroup$

I have a driver which toggles the visibility of a mesh. If I set the driver the scripted expression and type in "True" when the visibility is off, the visibility turns on. If the visibility is already on and I type in "False", the visibility does not change.

$\endgroup$
  • $\begingroup$ Share your blend file, see blender.meta.stackexchange.com/q/344/888 $\endgroup$ – dr. Sybren Sep 19 '17 at 10:01
  • $\begingroup$ Useint for boolean drivers .. eg 1 if var > 39.9 else 0 will set the driver to True if some driver variable is greater than 39.9 else False Editing the scripted expression to be either True or False isn't really the concept behind drivers. $\endgroup$ – batFINGER Sep 20 '17 at 5:42
  • $\begingroup$ I was using inequalities for my driver, but for simplicity, I changed the values to True and False while testing whether or not the driver works the way I thought it would. $\endgroup$ – Erik Sep 21 '17 at 0:33
1
$\begingroup$

Typing in "False" makes the object visible and typing in "True" hides the object.

$\endgroup$

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.