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

Query plugin development #670

Open
PatriceMoreau56 opened this Issue Dec 15, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@PatriceMoreau56

PatriceMoreau56 commented Dec 15, 2017

Hi,

As we can't use the BimQL plugin anymore, I planned to develop my own query plugin.
I tried to make an "Hello world" query plugin but i can't find the correct JSON request to "call" my plugin. It seems that in old version of BIMserver the download method had a downloadType parameter that is not used anymore. Can you help me ?
By the way, according to your wiki page, can you confirm that it's useless to try to develop a query plugin or a new interface for query plugin development is planned?

Thank you

@rubendel

This comment has been minimized.

Show comment
Hide comment
@rubendel

rubendel Jan 5, 2018

Member

What specific features are you missing in the current embedded query implementation?

Member

rubendel commented Jan 5, 2018

What specific features are you missing in the current embedded query implementation?

@PatriceMoreau56

This comment has been minimized.

Show comment
Hide comment
@PatriceMoreau56

PatriceMoreau56 Jan 9, 2018

The specific feature I need is similar to the issue #675.
I created a custom Pset, let's name it "customPset". This Pset contains several Properties of different types, to have a simple case give to "customPset" 3 properties P1, P2, P3 of type IfcPropertySingleValue.
I rely this Pset on different objects throw an IfcRelDefinesByProperties.
What I want is :

  1. In one case, with all the objects (or a specific type) that have a P1 property (whatever the value) retrieve the globalId of the object, and the values of the properties P1, P2 and P3
  2. In another case, with all the objects (or a specific type) that have a "customPset", retrieve the globalId of the object, and the values and the name of all the properties of the "customPset"

That's why I tried to do this with a query plugin, to avoid multiply the network requests and manipulate the model directly on the server.
I saw you open the #678 issue which is close to my needs.

PatriceMoreau56 commented Jan 9, 2018

The specific feature I need is similar to the issue #675.
I created a custom Pset, let's name it "customPset". This Pset contains several Properties of different types, to have a simple case give to "customPset" 3 properties P1, P2, P3 of type IfcPropertySingleValue.
I rely this Pset on different objects throw an IfcRelDefinesByProperties.
What I want is :

  1. In one case, with all the objects (or a specific type) that have a P1 property (whatever the value) retrieve the globalId of the object, and the values of the properties P1, P2 and P3
  2. In another case, with all the objects (or a specific type) that have a "customPset", retrieve the globalId of the object, and the values and the name of all the properties of the "customPset"

That's why I tried to do this with a query plugin, to avoid multiply the network requests and manipulate the model directly on the server.
I saw you open the #678 issue which is close to my needs.

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