mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
IfcConvert: only conditionally bypass properties
This commit is contained in:
@@ -1359,12 +1359,14 @@ bool init_input_file(const std::string& filename, IfcParse::IfcFile*& ifc_file,
|
||||
requires_init = true;
|
||||
}
|
||||
|
||||
ifc_file->bypass_type("IfcRelDefinesByProperties");
|
||||
ifc_file->bypass_type("IfcPropertySetDefinition");
|
||||
ifc_file->bypass_type("IfcProperty");
|
||||
ifc_file->bypass_type("IfcMaterialProperties");
|
||||
ifc_file->bypass_type("IfcProfileProperties");
|
||||
ifc_file->bypass_type("IfcPhysicalQuantity");
|
||||
if (bypass_properties) {
|
||||
ifc_file->bypass_type("IfcRelDefinesByProperties");
|
||||
ifc_file->bypass_type("IfcPropertySetDefinition");
|
||||
ifc_file->bypass_type("IfcProperty");
|
||||
ifc_file->bypass_type("IfcMaterialProperties");
|
||||
ifc_file->bypass_type("IfcProfileProperties");
|
||||
ifc_file->bypass_type("IfcPhysicalQuantity");
|
||||
}
|
||||
|
||||
#ifdef USE_MMAP
|
||||
if (mmap) {
|
||||
|
||||
Reference in New Issue
Block a user