If you're reading this, we've just migrated servers! If anything looks broken please email dion@thinkmoult.com :)
How to get warnings in the output of `python -m ifcopenshell.validate`
When I upload a file to view.ifcopenshell.org I can click on the button on the bottom right and get a list of warnings and validation errors, see this file for an example. I'd like to get the same warnings in the output of the command python -m ifcopenshell.validate
. Is it possible?
Tagged:
Comments
@whopper have you tried using the "--json" flag?
@vpajic Yes but I'm not getting any warnings, whereas I get 19 on view.ifcopenshell.org. The only change compared to when I was running it without
--json
is that the output has a different format, but I still only get messages about violations of the IFC specification.I attached the file I'm using with the validator. Maybe I have to change the logging level but I've yet to figure out how to do that.
It seems that warnings on geometries are generated only when the geometries themselves are generated, which happens in view.ifcopenshell.org but not when running the validator alone.