mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Add status prints for writing XML output. Re: #122
This commit is contained in:
committed by
Thomas Krijnen
parent
80f0ff688d
commit
f0e07f3447
@@ -366,7 +366,9 @@ int main(int argc, char** argv) {
|
|||||||
Logger::Message(Logger::LOG_ERROR, "Unable to parse input file '" + input_filename + "'");
|
Logger::Message(Logger::LOG_ERROR, "Unable to parse input file '" + input_filename + "'");
|
||||||
} else {
|
} else {
|
||||||
s.setFile(&f);
|
s.setFile(&f);
|
||||||
|
Logger::Status("Writing XML output...");
|
||||||
s.finalize();
|
s.finalize();
|
||||||
|
Logger::Status("Done!");
|
||||||
rename_file(output_temp_filename, output_filename);
|
rename_file(output_temp_filename, output_filename);
|
||||||
exit_code = 0;
|
exit_code = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user