8
$\begingroup$

I need to animate visibility for a large number of objects which are separated into groups. Typically to toggle visibility one clicks the eye and camera icons in the outliner and presses "I" over them. Unfortunately, this does not work for the "Groups" view in the outliner.

enter image description here

Does anyone know why this is, and how I can go about quickly keying the objects organized into groups?

$\endgroup$
1
  • $\begingroup$ There's no straight forward way here. If the toggle action needs to be keyed quite often, you may consider to use Keying Sets. $\endgroup$ Commented Feb 26, 2014 at 1:42

3 Answers 3

11
$\begingroup$

The group visibility in the outliner is just there for convenience to control the visibility of objects, but is not actually a property of the group.

Objects can be apart of more then one group so it wouldn't really make sense for visibility to be a group property.

Some alternatives are...

  • Assign the same action to all objects, then use that action to control visibility.
    May conflict with existing animation, so you could check on using the NLA too.
  • Assign a driver to objects visibility and use a single toggle to control it.
  • Use a frame change callback from Python and have a script inspect some property and set the visibility of the group based on it.
    Basically a hack to do something similar to a driver
  • Instance the group and change the visibility of that.
    Realize this isn't always a workable solution.
  • Solve it elsewhere, use compositing for example to enable/disable different scenes, in some cases material alpha can be used too.
$\endgroup$
2
  • $\begingroup$ Thank you so much for you thorough explanation. Can you explain the first option to me? $\endgroup$
    – Jack Guy
    Commented Feb 26, 2014 at 13:03
  • $\begingroup$ Regarding the "Instance of group", here is a great how-to: youtube.com/watch?v=9WshXRndeOM&list=LL&index=2 $\endgroup$
    – Vincent
    Commented Jan 14, 2021 at 9:23
7
$\begingroup$

Or try the advantage of Graph Editor, like this:

enter image description here

$\endgroup$
2
  • $\begingroup$ Note, editing many fcurves at once may become annoying, you might want to apply one action to all objects. $\endgroup$
    – ideasman42
    Commented Feb 26, 2014 at 4:09
  • $\begingroup$ @ideasman42 Agree. Btw, according to your answer, is that also the reason why we cannot do it by using Keying Set like this, while still works in this way? $\endgroup$ Commented Feb 26, 2014 at 6:17
1
$\begingroup$

"Few clicks" workaround: Move whole group to separate layer and exclude this layer from render.

enter image description here

$\endgroup$

You must log in to answer this question.

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