yorikvanhavre / BIM_Workbench

A BIM Workbench for FreeCAD
363 stars 77 forks source link

Error message "'BIMWorkbench' object has no attribute 'rebar'" produced on workbench start #43

Closed alexey-martynov closed 4 years ago

alexey-martynov commented 4 years ago

BIM Workbench revision: 360a9b104ecaf3303a0f943f8c9b9bb59ee1bf9c FreeCAD version: 0.18, 0.19-20406 Platform: MacOS, Windows 10 64bit.

alexey-martynov commented 4 years ago

It looks like this message is produced when "Reinforcement" add-on is missing.

Is it possible to produce user friendly message about this?

yorikvanhavre commented 4 years ago

Definitely. It should still work seamlessly without the rebar addon. Let me check that..

alexey-martynov commented 4 years ago

It is passed as parameter without check on 311 (?) line inside Initialize to create submenu.

yorikvanhavre commented 4 years ago

Ok should be fixed now!

alexey-martynov commented 4 years ago

Works perfect! Thanks.