Skip to content

Commit 7647043

Browse files
committed
Fixed "Tempfile"
1 parent 0b81786 commit 7647043

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/opensourceBIM/BIMserver/ifc_handler.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
# IFC processors
2323

2424
require 'sketchup'
25+
require 'tempfile'
2526

2627
module OpenSourceBIM
2728
module BIMserver
@@ -61,7 +62,7 @@ def IfcWrite
6162
unless Sketchup.is_pro?
6263
raise "You need SketchUp PRO to create IFC-files"
6364
end
64-
65+
6566
# Export model to temporary IFC file
6667
model = Sketchup.active_model
6768
file = Tempfile.new(['BIMserver-', '.ifc'])

0 commit comments

Comments
 (0)