diff --git a/openmc/model/model.py b/openmc/model/model.py index 7a81292c1a..47c43fb832 100644 --- a/openmc/model/model.py +++ b/openmc/model/model.py @@ -181,7 +181,8 @@ class Model(object): """Export model to XML files.""" self.settings.export_to_xml() - self.geometry.export_to_xml() + if not settings.dagmc: + self.geometry.export_to_xml() # If a materials collection was specified, export it. Otherwise, look # for all materials in the geometry and use that to automatically build