BIM-Tools / SketchUp-IFC-Manager

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

Update ifc_import.rb #61

Open 3dmod opened 4 months ago

3dmod commented 4 months ago

ifc_import is broken on SketchUp Versions greater then 17. The result without this commit is it fails silently.

See https://ruby.sketchup.com/Sketchup/Model.html#import-instance_method

janbrouwer commented 4 months ago

Thanks, good spot!

marcelocj1 commented 2 months ago

Friend, I would like to include a folder with personalized sketchup classification, is it possible?

janbrouwer commented 2 months ago

Yes, as long as it matches the structure from the other SKC's. The IFC mapping had to know which parameter to put where in the IfcClassification(Reference). You need to add the SKC to the SketchUp classifications folder or in the classifications folder of IFC manager, then add the name of the file in the settings.yml file in the IFC manager plugin folder.

Please let me know if you run into problems

Op vr 30 aug 2024 15:17 schreef Marcelo Carvalho @.***>:

Friend, I would like to include a folder with personalized sketchup classification, is it possible?

— Reply to this email directly, view it on GitHub https://github.com/BIM-Tools/SketchUp-IFC-Manager/pull/61#issuecomment-2321228361, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCZVLGPYUNEVXREZTW72QLZUBWGZAVCNFSM6AAAAABKKQYQZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRRGIZDQMZWGE . You are receiving this because you were assigned.Message ID: @.***>

marcelocj1 commented 2 months ago

Yes, as long as it matches the structure from the other SKC's. The IFC mapping had to know which parameter to put where in the IfcClassification(Reference). You need to add the SKC to the SketchUp classifications folder or in the classifications folder of IFC manager, then add the name of the file in the settings.yml file in the IFC manager plugin folder. Please let me know if you run into problems Op vr 30 aug 2024 15:17 schreef Marcelo Carvalho @.>: Friend, I would like to include a folder with personalized sketchup classification, is it possible? — Reply to this email directly, view it on GitHub <#61 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCZVLGPYUNEVXREZTW72QLZUBWGZAVCNFSM6AAAAABKKQYQZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRRGIZDQMZWGE . You are receiving this because you were assigned.Message ID: @.>

I also can't export with the class manager, I used the DIN 276-1 folder, just with the default sketchup classification, could you tell me where the IFC manager plug-in folder is on the computer.