I am creating a Revit 2016 plugin for a BIM cloud solution.
When I import an IFC, I get 12 warnings (When a Revit finds space boundaries, one of these elements may be ignored, shorten or delete the space separation line to correct the overlap.)
When exporting the model to an IFC file with
IFCExportOptions options = new IFCExportOptions {FileVersion = IFCVersion.IFC2x3};
UIApplication.ActiveUIDocument.Document.Export (tempFilePath, ifcFileName, options);
I get many exceptions:
System.ArgumentException occurred
HResult = -2147024809
Message = Invalid faces.
Parameter name: faces
Source = Revit.IFC.Export
ParamName = faces
StackTrace:
At Revit.IFC.Export.Utility.SimpleSweptSolidAnalyzer.Create (ICollection`1 faces, XYZ normal)
InnerException:
The IFC file is attached.
How can I solve the problem?
Many thanks
Michael