{"action":"created","issue":{"url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/8","repository_url":"https://api.github.com/repos/xBimTeam/XbimExchange","labels_url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/8/comments","events_url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/8/events","html_url":"https://github.com/xBimTeam/XbimExchange/issues/8","id":128776688,"number":8,"title":"Conversion IFC file in a Json file","user":{"login":"soniagagliardi","id":16120780,"avatar_url":"https://avatars.githubusercontent.com/u/16120780?v=3","gravatar_id":"","url":"https://api.github.com/users/soniagagliardi","html_url":"https://github.com/soniagagliardi","followers_url":"https://api.github.com/users/soniagagliardi/followers","following_url":"https://api.github.com/users/soniagagliardi/following{/other_user}","gists_url":"https://api.github.com/users/soniagagliardi/gists{/gist_id}","starred_url":"https://api.github.com/users/soniagagliardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soniagagliardi/subscriptions","organizations_url":"https://api.github.com/users/soniagagliardi/orgs","repos_url":"https://api.github.com/users/soniagagliardi/repos","events_url":"https://api.github.com/users/soniagagliardi/events{/privacy}","received_events_url":"https://api.github.com/users/soniagagliardi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-26T09:56:06Z","updated_at":"2016-03-14T14:48:36Z","closed_at":null,"body":"Hi,\r\n\r\nI have converted my IFC Model to .wexbim and .xbim but how can I create the expected .json file?\r\n\r\n I used to generate the json file using Xbim.Exchange in this way:\r\n\r\n\r\n\r\n        var context = new Xbim3DModelContext(model1);\r\n                context.CreateContext(geomStorageType: XbimGeometryType.PolyhedronBinary);\r\n                var wexBimFilename = Path.ChangeExtension(IfcModelFile, \"wexBIM\");\r\n                using (var wexBiMfile = new FileStream(wexBimFilename, FileMode.Create,                 FileAccess.Write))\r\n                {\r\n                    using (var wexBimBinaryWriter = new BinaryWriter(wexBiMfile))\r\n                    {\r\n                        Console.WriteLine(\"Creating \" + wexBimFilename);\r\n                        context.Write(wexBimBinaryWriter);\r\n                        wexBimBinaryWriter.Close();\r\n                    }\r\n                    wexBiMfile.Close();\r\n                }\r\n                var fileNameWithoutExtension = Path.GetFileNameWithoutExtension(IfcModelFile);\r\n                var fileDirectoryName = Path.GetDirectoryName(IfcModelFile);\r\n                List<Facility> facilities = new List<Facility>();\r\n          \r\n                    var ifcToCoBieLiteUkExchanger = new IfcToCOBieLiteUkExchanger(model1, facilities);\r\n                    if (ifcToCoBieLiteUkExchanger != null)\r\n                    {\r\n                        \r\n                        facilities = ifcToCoBieLiteUkExchanger.Convert();\r\n\r\n                        var facilityNumber = 0;\r\n\r\n                        foreach (var facility in facilities)\r\n                        {.......\r\n\r\n\r\nbut I have this error\r\n\r\n![erroremapping](https://cloud.githubusercontent.com/assets/16120780/12577514/01417644-c41b-11e5-9c1e-f48e4c0bffaa.png)\r\n\r\nWhat is the problem?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/comments/196346332","html_url":"https://github.com/xBimTeam/XbimExchange/issues/8#issuecomment-196346332","issue_url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/8","id":196346332,"user":{"login":"soniagagliardi","id":16120780,"avatar_url":"https://avatars.githubusercontent.com/u/16120780?v=3","gravatar_id":"","url":"https://api.github.com/users/soniagagliardi","html_url":"https://github.com/soniagagliardi","followers_url":"https://api.github.com/users/soniagagliardi/followers","following_url":"https://api.github.com/users/soniagagliardi/following{/other_user}","gists_url":"https://api.github.com/users/soniagagliardi/gists{/gist_id}","starred_url":"https://api.github.com/users/soniagagliardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soniagagliardi/subscriptions","organizations_url":"https://api.github.com/users/soniagagliardi/orgs","repos_url":"https://api.github.com/users/soniagagliardi/repos","events_url":"https://api.github.com/users/soniagagliardi/events{/privacy}","received_events_url":"https://api.github.com/users/soniagagliardi/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T14:48:36Z","updated_at":"2016-03-14T14:48:36Z","body":"Have you ever used the method JsonFile the comment Previous?"}}