为了解决我的问题,我尝试在 ifcopenshell 模块中添加一些 Etify 类型。我以前没有任何模块经验。我只是尝试:
import ifcopenshell
from ifcopenshell import ifcopenshell_wrapper
ifc =ifcopenshell.open('somthing.ifc')
#ifcschema=ifcopenshell_wrapper.FileSchema(args, kwargs)
ifccocntroller=ifcopenshell_wrapper.new_IfcBaseClass(schema_identifier, 'somemodule')
我不明白这里的 schema_identifier 是什么,以及如何从其他 ifc Entify 获取 schema_identifier 的示例,例如 ifcwall?