Draft: Fixed DXF imorter for non-GUI operation - fixes #1961
This commit is contained in:
parent
40f0927705
commit
5a9d79ac94
|
@ -57,6 +57,8 @@ if gui:
|
|||
|
||||
# check dxfLibrary version
|
||||
try:
|
||||
if FreeCAD.ConfigGet("UserAppData") not in sys.path:
|
||||
sys.path.append(FreeCAD.ConfigGet("UserAppData"))
|
||||
import dxfLibrary
|
||||
import dxfColorMap
|
||||
import dxfReader
|
||||
|
|
Loading…
Reference in New Issue
Block a user