66import java .util .List ;
77
88import org .bimserver .emf .IdEObject ;
9- import org .bimserver .models .ifc2x3 .IfcColumn ;
10- import org .bimserver .models .ifc2x3 .IfcDoor ;
11- import org .bimserver .models .ifc2x3 .IfcOpeningElement ;
12- import org .bimserver .models .ifc2x3 .IfcRoot ;
13- import org .bimserver .models .ifc2x3 .IfcSlab ;
14- import org .bimserver .models .ifc2x3 .IfcWall ;
15- import org .bimserver .models .ifc2x3 .IfcWallStandardCase ;
16- import org .bimserver .models .ifc2x3 .IfcWindow ;
17- import org .bimserver .plugins .PluginException ;
9+ import org .bimserver .models .ifc2x3tc1 .IfcColumn ;
10+ import org .bimserver .models .ifc2x3tc1 .IfcDoor ;
11+ import org .bimserver .models .ifc2x3tc1 .IfcRoot ;
12+ import org .bimserver .models .ifc2x3tc1 .IfcSlab ;
13+ import org .bimserver .models .ifc2x3tc1 .IfcWall ;
14+ import org .bimserver .models .ifc2x3tc1 .IfcWallStandardCase ;
15+ import org .bimserver .models .ifc2x3tc1 .IfcWindow ;
1816import org .bimserver .plugins .PluginManager ;
1917import org .bimserver .plugins .ifcengine .IfcEngine ;
2018import org .bimserver .plugins .ifcengine .IfcEngineException ;
@@ -40,7 +38,8 @@ public class JSONModelFormat2Serializer extends EmfSerializer {
4038 public void init (IfcModelInterface model , ProjectInfo projectInfo , PluginManager pluginManager , IfcEngine ifcEngine ) throws SerializerException {
4139 super .init (model , projectInfo , pluginManager , ifcEngine );
4240 try {
43- EmfSerializer serializer = getPluginManager ().requireIfcStepSerializer ();
41+ ifcEngine .init ();
42+ EmfSerializer serializer = getPluginManager ().requireIfcStepSerializer ();
4443 serializer .init (model , getProjectInfo (), getPluginManager (), ifcEngine );
4544 ifcEngineModel = ifcEngine .openModel (serializer .getBytes ());
4645 ifcEngineModel .setPostProcessing (true );
0 commit comments