yorikvanhavre / WebTools

A series of tools to communicate with web services from within FreeCAD
http://www.freecadweb.org
17 stars 13 forks source link

BIMserver: update upload options (sites in document) on change of active document or just before upload #10

Open hlg opened 5 years ago

hlg commented 5 years ago

I noticed that the active document may be changed - or even worse, closed - while the BIMserver task panel is open. Thus the initial population of the root element for BIMserver upload may be obsolete by the time upload is executed. It would be better to populate or at least update the selection options at the time of export only. That would also allow the following: It should be possible to open the BIMserver task panel without a document open, since download/import from BIMserver would create a new document anyway.