Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data missing from generated Json file. #62

Open
Girjesh25 opened this issue Jul 18, 2018 · 2 comments
Open

Data missing from generated Json file. #62

Girjesh25 opened this issue Jul 18, 2018 · 2 comments

Comments

@Girjesh25
Copy link

Some of the objects are missing from geneated Json file i am using below code.

using (var cobieFile = new FileStream(cobieFileName, FileMode.Create))
{
var helper = new CoBieLiteHelper(model, "UniClass");
var facility = helper.GetFacilities().FirstOrDefault();

if (facility != null)
{
using (var writer = new StreamWriter(cobieFile))
{
CoBieLiteHelper.WriteJson(writer, facility);
writer.Close();
}
}
Project1plumbing112.zip

                    }
@martin1cerny
Copy link
Member

This JSON is a form of COBie. And not all elements are supposed to be translated to COBie.

@ap1970
Copy link

ap1970 commented Oct 2, 2018

Hi Martin,
i have already developed a BIM solution using wexbim and json file.
I have created the Json file with this class CoBieLiteHelper and the web application using the components XbimWebUI.
Now there is the new class IfcToCOBieLiteUkExchanger, the structure of the json file is different.
At this point i'm not so sure that the XbimWebUI can read correctly the new json file.
Is my consideration right or i have not consider something?
Have i to modify the XbimWebUI components?

Thanks a lot.

Ciao

@martin1cerny martin1cerny transferred this issue from xBimTeam/XbimWebUI Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants