[Bf-committers] Add-on and bpy questions

Philippe Van Hecke lemouchon at gmail.com
Mon Nov 14 12:39:01 CET 2022


Hi All, I made a simple add-on to hide/unhide selected object and associate
children to the view port and renderer. See here (
https://framagit.org/lephiloux/blender_hideunhide_all/-/tree/main) but have
two issues.
First one is that I would like to put operator under the Show/Hide submenu
and don't know how to do it. Now it is located at the end of the Object
menu.

The second one is a bit more tricky, because when hiding object and
children in view port it was not selected anymore. So I would like to know
in BPY how to get information about selected item in the outliner.

Kr
Philippe


More information about the Bf-committers mailing list