Skip to content

Commit

Permalink
Arch: Allow to skip import of IFC types from python
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed May 14, 2020
1 parent b5beab8 commit 4f36c23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Mod/Arch/importIFC.py
Expand Up @@ -381,6 +381,9 @@ def insert(filename,docname,skip=[],only=[],root=None,preferences=None):
if pid in skip: # user given id skip list
if preferences['DEBUG']: print(" skipped.")
continue
if ptype in skip: # user given type skip list
if preferences['DEBUG']: print(" skipped.")
continue
if ptype in preferences['SKIP']: # preferences-set type skip list
if preferences['DEBUG']: print(" skipped.")
continue
Expand Down

0 comments on commit 4f36c23

Please sign in to comment.