yorik wrote: ↑Tue Aug 20, 2019 10:50 pmI did some more cleaning and move more stuff from importIFC.py to importIFCHelper.py
This is becoming a lot cleaner now...
I had an idea to solve the problem of allowing users (I mean bernd ) to override settings while still read the preferences again at each import (in case they were modified inbetween):
we move all the import code to another function, and we make insert() a very minimal one:
so you can do that yourself, and override any of the settings after readpreferences()
Code: Select all
def insert(file): readpreferences() do_the_real_import()