123456789101112131415161718 |
- import os
- from pathlib import Path
- from gcstruct.gcstruct import GCStruct
- def gcstruct_export():
- base_dir = "C:/Projekte/GCHRStruct_Hyundai_Export"
- if not Path(base_dir).exists():
- base_dir = os.getcwd()
- struct = GCStruct(base_dir)
- struct.get_structure_and_tree()
- struct.export_structure_and_tree()
- struct.export()
- if __name__ == "__main__":
- gcstruct_export()
|