yorikvanhavre / BIM_Workbench

A BIM Workbench for FreeCAD
363 stars 77 forks source link

BIM: import Draft globally to have access to Draft.make_layer #57

Closed vocx-fc closed 4 years ago

vocx-fc commented 4 years ago

Import the Draft module globally to have access to Draft.makeLayer, which internally calls Draft.make_layer.

Reported in the forum:

When this is merged, it will uncover an error with the legacy function Draft.makeLayer. This is corrected in a separate pull request made for the Draft Workbench, FreeCAD/FreeCAD#3732.