make webdata ifc_file only show filename instead of full path

This commit is contained in:
Ziad-I
2024-07-17 13:45:31 +03:00
committed by Dion Moult
parent 6defdc63b5
commit 500587f267
@@ -18,6 +18,7 @@
import bpy
import blenderbim.tool as tool
import os
def refresh():
@@ -37,4 +38,5 @@ class WebData:
@classmethod
def ifc_file_name(cls):
return bpy.context.scene.BIMProperties.ifc_file
filename = os.path.basename(bpy.context.scene.BIMProperties.ifc_file)
return filename