Page MenuHome

Restrict Viewport selection / Select-ability (hide_select) is set as not an animated property making it not drive-able
Closed, ArchivedPublic

Description

System Information
Operating system: Windows 10 Pro
Graphics card: Nvidia GTX 1080 Ti
CPU: Intel core i7 7700K
RAM: 64GB/2400mhz

Blender Version
Broken: 2.80 Release Candidate
Worked: 2.79

Short description of error
When right clicking on restrict select, the drivers and keyframe options are gone and are not animatable/drivable, even with scripts.

Exact steps for others to reproduce the error
Select any object on the scene, go to the outliner, right click the restrict selection (arrow icon) of your object, armature, collection, empty, etc. , then you will see these options are not there.

Event Timeline

I agree this is not great. However, it has been reported before and the developers added a Visibility Panel in the Object properties tab. This contains the viewport visibility, show in renders, and selectability properties where you can attach drivers as expected.

Note that currently, the outliner 'viewport visibility' button doesn;t correctly shade the button purple if there's a driver attached.

i think the devs are working on a more complete resolution to this issue as part of the next major outliner change which will likely come in 2.81.

I tried on the visibility panel and wasn't able to add a driver to the "Selectable" box but I am able to add drivers to the other 2

I apologize. I thought you were talking about the viewport visibility option. I do not know if you can add a driver to selectability at all.

Its ok, although it was possible in 2.79, I used this to control the selection of meshes on rigs, so that way I wouldnt click in the mesh on accident while wanting to select the armature, and used a driver to control the selection if i ever wanted to edit the mesh, it was a big time saver than enabeling all the mesh objects that belonged to that rig, so instead of searching for one specific object or enabling all, I would use a bone as a switch/slider, so it was a 1 step thing for on and off

You might want to investigate using the new Edit >Lock object mode toggle. You can bind it to your quick menu so you can toggle it at will. It helps keep you in pose mode and prevents inadvertantly selecting the mesh.

Mmmm ill definitely look into that. my 3rd attempt at controlling this was by giving the mesh a custom property that enables and disables selection by either being 1 or 0, then add a driver to that property, but since im a nooby at coding i couldnt get it to work right

Sebastian Parborg (zeddb) changed the task status from Unknown Status to Unknown Status.Jul 15 2019, 12:57 PM
Sebastian Parborg (zeddb) claimed this task.

This is a known limitation.