通过使用ifchopenshell,我可以使用下面的代码轻松地遍历所有的层 for ifc_storey in ifc_file.by_type("IfcBuildingStorey"):
print(str(ifc_storey.Name)) 但是,对于每一层,我希望找到属于它的所有IfcSpace类型的Ifc元素。
我在python中使用IfcOpenShell。当我尝试创建一个新文件并添加实体时,我会得到以下错误。我怎样才能消除这个错误?程序ifc_file.add({IfcBuildingElementProxy})Unabled to add instancefrom IFC2X3 schema to file with IFC4 schema
谢谢你的帮助。