BIM-Tools / SketchUp-IFC-Manager

IFC data manager and exporter for SketchUp.
GNU General Public License v3.0
59 stars 20 forks source link

cannot export ifc file #41

Closed huliopalas closed 2 years ago

huliopalas commented 2 years ago

hello, afaik the ifc export button doesn't work i see the progress bar but then no file is created

i am using a simple file for test. do you know what can cause this issue?

janbrouwer commented 2 years ago

Can you check the output of the ruby console? (Extensions -->Developer --> Ruby Console)

huliopalas commented 2 years ago

thank you, that's what i get

Error: #<ArgumentError: wrong number of arguments (given 1, expected 2)> C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/IfcRelAssociatesMaterial_su.rb:26:in initialize' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/material_and_styling.rb:47:innew' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/material_and_styling.rb:47:in create_material_assoc' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/material_and_styling.rb:38:ininitialize' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/IfcProduct_su.rb:107:in new' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/IfcProduct_su.rb:107:ininitialize' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/parse_xsd.rb:186:in initialize' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/parse_xsd.rb:186:ininitialize' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/parse_xsd.rb:186:in initialize' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/ObjectCreator.rb:94:innew' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/ObjectCreator.rb:94:in create_ifc_entity' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/ObjectCreator.rb:55:ininitialize' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/IfcModel.rb:224:in new' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/IfcModel.rb:224:increate_ifc_objects' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/IfcModel.rb:128:in initialize' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/export.rb:60:innew' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/export.rb:60:in export' C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/loader.rb:129:inblock in '

Monalins commented 2 years ago

Hello, I have the same problem

janbrouwer commented 2 years ago

This issue arises when updating the plugin without first removing the old version. It should be fixed if you delete the file "bt_ifcmanager/lib/lib_ifc/IfcRelAssociatesMaterial_su.rb".