mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
make webdata ifc_file only show filename instead of full path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user