mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
temporarily hide IFC Spatial Manager for IFC2X3 models
This commit is contained in:
@@ -107,7 +107,7 @@ class BIM_PT_SpatialManager(Panel):
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return tool.Ifc.get()
|
||||
return tool.Ifc.get() and tool.Ifc.schema().name() != "IFC2X3"
|
||||
|
||||
def draw(self, context):
|
||||
if not SpatialData.is_loaded:
|
||||
|
||||
Reference in New Issue
Block a user