What’s the best practice to get this to work.
I know I can dispatch the data tree based on what the line says but I am wondering if there is already a recommended way to do this with the best performance.
What’s the best practice to get this to work.
I know I can dispatch the data tree based on what the line says but I am wondering if there is already a recommended way to do this with the best performance.
You can dispatch the quantities and properties using an approach such as demonstrated here:
240222 roof from mesh.gh (22.9 KB)
If you have a preference for another way, let me know. In this case as there is only 2 distinct options, you could simplify it using only a single dispatch.
Great that’s what I meant. The ggIFC Get ClassName is basically what I was looking for. Of course it also works for IfcPropertySet and IfcElementQuantity. It really helps to understand the IFC schema better!
Coming back to this as I have a follow up question in the context of querying data. If I am correct then there is a “Find Property”, “Find Quantity” as well as a “Find Pset” component but if I want to look for specific property values I would have to go through all entities like in your example and then decompose pset (or quantity) and then decompose the values …
… or is there another, better way to list all available psets/properties/values (and their associated elements) of a (Ifc)Project/file?
The best way for me to efficiently help, is to provide a generic IFC model and a script (I assume in your image that you haven’t adjusted my script but then it doesn’t really provide context).
A more specific phrasing of the question might help. Do you want to list all unique property names/values with their sets and elements? Your last post talks about a specific property, and then talk about all properties below the image.
Thanks,
Jon
Sure, seems like my questions need a bit more context.
I am trying to find out more about the possibilities of the plugin and one use case might be to (1st step) create a set / list all properties and/or their values which are to be found in an IFC and then (2nd step) show me which elements have specific values assigned for a way to filter.
So currently there is no such “List all Psets/Properties/Values” but only the “Find *” componentns
I attached you a file where I have added the questions directly within the file. I hope that makes sense more now. Thanks again!
Solibri Building.zip (1.9 MB)
InformationQueryExperiments_01.gh (25.0 KB)
(PS: I am aware that a pure scripting approach might be more efficient for some data/property related questions but for some basic concepts it might be useful/easier at the moment to also work with the geometry and use the toolset of Rhino/GH to postprocess data)