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$
3
  • $\begingroup$ Share your blend file, see blender.meta.stackexchange.com/q/344/888 $\endgroup$
    – dr. Sybren
    Commented Sep 19, 2017 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
    Commented Sep 20, 2017 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
    Commented Sep 21, 2017 at 0:33

1 Answer 1

2
$\begingroup$

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

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .