I would like to hide the area under the Properties menu header. I have divided this menu into three parts and the object information and pin take up an appreciable part of the interface.
Thanks in advance )
You need to override .draw
method for existing Blender Panels.
Use context menu on this part of UI → Edit Source and see opened file in Scripting tab to figure what panel you need to change, then find this panel in Blender Python API and replace it’s .draw
method with whatever you find works best for your case.
In this case, I’m looking at “modifiers_ui.py”.
but I can’t find the line that is responsible for rendering this string with the object name and the pin
can you show me an example?
When you do “Edit Source” and then open .py file in Scripting it’s opening with cursor exactly at the line that’s drawing the thing you’ve tried to “edit source” for.