BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Collaboration with other software
About model and data exchange with 3rd party solutions: Revit, Solibri, dRofus, Bluebeam, structural analysis solutions, and IFC, BCF and DXF/DWG-based exchange, etc.

IFC import crash

Anonymous
Not applicable
hello,

the IFC file posted below causes my Archicad 11 to crash. However I can view it with IFC Engine Viewer. Can anyone tell what is wrong with my IFC file?
Or is there a way to debug an Archicad crash?

ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('IFC2X_PLATFORM'),'2;1');
FILE_NAME('EDD','2008-03-19',('rbp'),('CRITA'),'Python','EDD','God');
FILE_SCHEMA (('IFC2X3'));
ENDSEC;
DATA;

#1 = IFCPROJECT('IFC_generator',$,$,$,$,$,$,$,#6);
#2 = IFCRELAGGREGATES($,$,$,$,#1,(#3));
#3 = IFCBUILDING('Building',$,$,$,$,$,$,$,.ELEMENT.,$,$,$);
#4 = IFCRELAGGREGATES($,$,$,$,#3,(#5));
#5 = IFCBUILDINGSTOREY($,$,$,$,$,$,$,$,.ELEMENT.,$);

#6 = IFCUNITASSIGNMENT((#7,#8,#9,#10)); 
#7 = IFCSIUNIT(*,.LENGTHUNIT.,.MILLI.,.METRE.); 
#8 = IFCSIUNIT(*,.AREAUNIT.,$,.SQUARE_METRE.); 
#9 = IFCSIUNIT(*,.VOLUMEUNIT.,$,.CUBIC_METRE.);  
#10 = IFCSIUNIT(*..PLANEANGLEUNIT.,$,.RADIAN.); 
        
#21 = IFCBUILDINGELEMENTPROXY($,$,$,$,$,#22,#27,$,$);
#22 = IFCLOCALPLACEMENT($,#23);
#23 = IFCAXIS2PLACEMENT3D(#24,#25,#26);
#24 = IFCCARTESIANPOINT((0, 0, 0));
#25 = IFCDIRECTION((0, 0, 1));
#26 = IFCDIRECTION((1, 0, 0));

#27 = IFCPRODUCTDEFINITIONSHAPE($,$,(#28)); 
#28 = IFCSHAPEREPRESENTATION(#29,$,'Brep',(#34)); 
#29 = IFCGEOMETRICREPRESENTATIONCONTEXT($,$,3,0,#30,$); 
#30 = IFCAXIS2PLACEMENT3D(#31,#32,#33); 
#31 = IFCCARTESIANPOINT((0.0,0.0,0.0)); 
#32 = IFCDIRECTION((0.0,0.0,1.0));
#33 = IFCDIRECTION((1.0,0.0,0.0));
#34 = IFCFACETEDBREP(#35); 
#35 = IFCCLOSEDSHELL((#41));
        
#37 = IFCCARTESIANPOINT((0.0,0.0,0.0));
#38 = IFCCARTESIANPOINT((1.0,0.0,0.0));
#39 = IFCCARTESIANPOINT((1.0,0.3,0.1));
#40 = IFCCARTESIANPOINT((0.0,0.3,0.1));
#41 = IFCFACE((#42));
#42 = IFCFACEOUTERBOUND(#43,.T.);          
#43 = IFCPOLYLOOP((#37,#38,#39,#40,#37));
            
#47 = IFCSYSTEM($,$,'Project',$,$);
#48 = IFCRELNESTS($,$,$,$,#47,(#21));
#49 = IFCRELCONTAINEDINSPATIALSTRUCTURE('Spaces',$,$,$,(#21),#5);

ENDSEC;
END-ISO-10303-21;

thanks for your time,
Richard
1 REPLY 1
Anonymous
Not applicable
I found if I get rid of the last line "#49 = IFCRELCONTAINEDINSPATIALSTRUCTURE('Spaces',$,$,$,(#21),#5);", then Archicad doesn't crash any more, but displays nothing. IFCEngine can display the surface correctly with and without this line.
Learn and get certified!