Hi everybody.
I am working on a script for Blender 2.79 which creates a custom screen to be used for some data analysis. Within this screen I would like to only show panels which are related to the Data Analysis scope.
Reguarding my custom panel , I managed to do so by using the @classmethod / poll() decorator:
@classmethod
def poll(cls, context):
return (bpy.context.screen.name == 'Data Analysis')
I would like to do the same for default panels (those which come default with Blender) so that within my screen (Data Analysis) I only have my tools, but within other screens it is all still the usual Blender.
Is it possible? How can I do?
Thank you in advance for your help!