diff --git a/PHX/hbjson_to_phpp.py b/PHX/hbjson_to_phpp.py index 2ada6b0..784ab44 100644 --- a/PHX/hbjson_to_phpp.py +++ b/PHX/hbjson_to_phpp.py @@ -26,7 +26,8 @@ f"> Reading in the HBJSON file: ./{SOURCE_FILE}") hb_json_dict = read_HBJSON_file.read_hb_json_from_file(SOURCE_FILE) hb_model = read_HBJSON_file.convert_hbjson_dict_to_hb_model(hb_json_dict) - + hb_model.convert_to_units("Meters") + # --- Generate the PhxProject file. # ------------------------------------------------------------------------- phx_project = create_project.convert_hb_model_to_PhxProject( diff --git a/PHX/hbjson_to_wufi_xml.py b/PHX/hbjson_to_wufi_xml.py index df1d106..80e8283 100644 --- a/PHX/hbjson_to_wufi_xml.py +++ b/PHX/hbjson_to_wufi_xml.py @@ -61,6 +61,7 @@ def resolve_paths(_args: List[str]) -> Tuple[pathlib.Path, pathlib.Path]: print(f"> Reading in the HBJSON file: ./{SOURCE_FILE}") hb_json_dict = read_HBJSON_file.read_hb_json_from_file(SOURCE_FILE) hb_model = read_HBJSON_file.convert_hbjson_dict_to_hb_model(hb_json_dict) + hb_model.convert_to_units("Meters") # --- Generate the WUFI Project file. print(