diff --git a/src/ifcblenderexport/blenderbim/bim/import_ifc.py b/src/ifcblenderexport/blenderbim/bim/import_ifc.py index a386c3fccf..f9d26502bf 100644 --- a/src/ifcblenderexport/blenderbim/bim/import_ifc.py +++ b/src/ifcblenderexport/blenderbim/bim/import_ifc.py @@ -248,6 +248,8 @@ class IfcImporter(): self.ifc_import_settings.should_ignore_building_coordinates = True elif applications[0].ApplicationFullName == '12D Model': self.ifc_import_settings.should_reset_absolute_coordinates = True + elif 'Civil 3D' in applications[0].ApplicationFullName: + self.ifc_import_settings.should_reset_absolute_coordinates = True elif applications[0].ApplicationFullName == 'Tekla Structures': if self.is_ifc_class_far_away('IfcSite'): self.ifc_import_settings.should_ignore_site_coordinates = True diff --git a/src/ifcblenderexport/blenderbim/bim/operator.py b/src/ifcblenderexport/blenderbim/bim/operator.py index 832f4dfd8a..54df3cc5e6 100644 --- a/src/ifcblenderexport/blenderbim/bim/operator.py +++ b/src/ifcblenderexport/blenderbim/bim/operator.py @@ -83,6 +83,7 @@ class ImportIFC(bpy.types.Operator, ImportHelper): ifc_import_settings.diff_file = bpy.context.scene.BIMProperties.diff_json_file ifc_import_settings.should_ignore_site_coordinates = bpy.context.scene.BIMProperties.import_should_ignore_site_coordinates ifc_import_settings.should_ignore_building_coordinates = bpy.context.scene.BIMProperties.import_should_ignore_building_coordinates + ifc_import_settings.should_reset_absolute_coordinates = bpy.context.scene.BIMProperties.import_should_reset_absolute_coordinates ifc_import_settings.should_import_curves = bpy.context.scene.BIMProperties.import_should_import_curves ifc_import_settings.should_import_opening_elements = bpy.context.scene.BIMProperties.import_should_import_opening_elements ifc_import_settings.should_import_spaces = bpy.context.scene.BIMProperties.import_should_import_spaces diff --git a/src/ifcblenderexport/blenderbim/bim/ui.py b/src/ifcblenderexport/blenderbim/bim/ui.py index 12bc0fafbe..a7e797d426 100644 --- a/src/ifcblenderexport/blenderbim/bim/ui.py +++ b/src/ifcblenderexport/blenderbim/bim/ui.py @@ -933,6 +933,11 @@ class BIM_PT_mvd(Panel): row = layout.row() row.prop(bim_properties, 'import_should_reset_absolute_coordinates') + layout.label(text='Civil 3D Workarounds:') + + row = layout.row() + row.prop(bim_properties, 'import_should_reset_absolute_coordinates') + layout.label(text='Revit Workarounds:') row = layout.row()