fix #3385 - renaming grids with "F2"

This commit is contained in:
Sigma Dimensions
2023-07-05 17:41:33 +01:00
parent e62d7ad9ef
commit fd626e37a0
+3
View File
@@ -72,6 +72,9 @@ def name_callback(obj, data):
if not obj.BIMObjectProperties.ifc_definition_id or "/" not in obj.name:
return
element = IfcStore.get_file().by_id(obj.BIMObjectProperties.ifc_definition_id)
if element.is_a("IfcGridAxis"):
element.AxisTag = obj.name.split("/")[1]
refresh_ui_data()
if not element.is_a("IfcRoot"):
return
if obj.BIMObjectProperties.collection: