mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +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
|
@classmethod
|
||||||
def poll(cls, context):
|
def poll(cls, context):
|
||||||
return tool.Ifc.get()
|
return tool.Ifc.get() and tool.Ifc.schema().name() != "IFC2X3"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
if not SpatialData.is_loaded:
|
if not SpatialData.is_loaded:
|
||||||
|
|||||||
Reference in New Issue
Block a user