- Syntax Validation
python3 apps/ifc_validation/checks/step_file_parser/main.py --json filename
- Parse Info
import ifcopenshell
...
try:
ifcopenshell.open(filename)
# all OK
except ifcopenshell.Error as err:
print(f'Error: {err}')
- Prerequisites
python3 apps/ifc_validation/checks/check_gherkin.py --file-name file_name --task-id id --rule-type CRITICAL (--verbose)
- Schema Validation
python3 -m ifcopenshell.validate --json --rules --fields filename
- bSDD Validation
python3 apps/ifc_validation/checks/check_bsdd.py --file-name file_name --task-id id (--verbose)
- Normative Rules - Implementer Agreements (IA)
python3 apps/ifc_validation/checks/check_gherkin.py --file-name file_name --task-id id --rule-type IMPLEMENTER_AGREEMENT (--verbose)
- Normative Rules - Informal Proposition (IP)
python3 apps/ifc_validation/checks/check_gherkin.py --file-name file_name --task-id id --rule-type INFORMAL_PROPOSITION (--verbose)
- Industry Practices
python3 apps/ifc_validation/checks/check_gherkin.py --file-name file_name --task-id id --rule-type INDUSTRY_PRACTICE (--verbose)