diff --git a/src/ifcopenshell-python/ifcopenshell/ids.py b/src/ifcopenshell-python/ifcopenshell/ids.py index e94fb6d614..1654b9179b 100644 --- a/src/ifcopenshell-python/ifcopenshell/ids.py +++ b/src/ifcopenshell-python/ifcopenshell/ids.py @@ -303,10 +303,8 @@ if __name__ == "__main__": logging.basicConfig(filename=filename, level=logging.INFO, format="%(message)s") logging.FileHandler(filename, mode='w') - # ids_file = ids(sys.argv[1]) - # ifc_file = ifcopenshell.open(sys.argv[2]) - ids_file = ids(r"C:\Users\artom\Desktop\Code\IFC sandbox\IDS, MVDxml samples\IDS_test_3.xml") - ifc_file = ifcopenshell.open(r"C:\Users\artom\Desktop\Code\IFC sandbox\IFC samples\IFC Artur.ifc") + ids_file = ids(sys.argv[1]) + ifc_file = ifcopenshell.open(sys.argv[2]) ids_file.validate(ifc_file, logger)