Allow user option to export without representations

This commit is contained in:
Dion Moult
2019-10-07 22:23:31 +11:00
parent 0ebb33da18
commit fc44b4e0d4
4 changed files with 28 additions and 1 deletions
@@ -27,6 +27,7 @@ class ExportIFC(bpy.types.Operator):
ifc_export_settings.data_dir = bpy.context.scene.BIMProperties.data_dir
ifc_export_settings.schema_dir = bpy.context.scene.BIMProperties.schema_dir
ifc_export_settings.output_file = bpy.path.ensure_ext(self.filepath, '.ifc')
ifc_export_settings.has_representations = bpy.context.scene.BIMProperties.export_has_representations
ifc_parser = export.IfcParser(ifc_export_settings)
ifc_schema = export.IfcSchema(ifc_export_settings)
qto_calculator = export.QtoCalculator()