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

Querying all metadata from BIMserver #629

Open
miolfo opened this Issue Oct 18, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@miolfo

miolfo commented Oct 18, 2017

Hello,

I have a question regarding how to query some of the metadata that is visible in the bimvie.ws. For example, when I select one of the objects in an ifc model, I can see properties as follows in the bimvie.ws:
image

How can I query the properties such as the "Tekla Reinforcement" from the server? I found no information about it on the wiki, and I went through all of the JSON queries in the Console -application, but I couldn't find a query that can be used for getting the values in the image.

Regards,
Mikko Forsman

@rubendel

This comment has been minimized.

Show comment
Hide comment
@rubendel

rubendel Oct 25, 2017

Member

The screenshot seems to be from BIMvie.ws. That project is open source, so your best guess is to have a look at how it's done there. Basically what you do is:

  • Create a query that will get you the objects and their properties
  • Traverse the resulting graph to find you properties

There are no special API calls for getting IFC properties. In IFC, properties are just objects, BIMserver does not treat them any differently than any other object.

Member

rubendel commented Oct 25, 2017

The screenshot seems to be from BIMvie.ws. That project is open source, so your best guess is to have a look at how it's done there. Basically what you do is:

  • Create a query that will get you the objects and their properties
  • Traverse the resulting graph to find you properties

There are no special API calls for getting IFC properties. In IFC, properties are just objects, BIMserver does not treat them any differently than any other object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment