Comprehensive hard clashes designed to pushed to power bi.
-
Hi All, first time post
I have a general Solibri question, ive touched on it previously and have done a lot of work on it but I’m realising I’m only scratching the surface.
I wanted to create a full set of hard clash rules for all disciplines and all Solibri components. So for example the bunch would be would be
Include AirTerminal Discipline One of Air Conditioning Vs Include AirTerminal Discipline One of Air Conditioning
Include AirTerminal Discipline One of Air Conditioning Vs Include AirTerminalBox Discipline One of Air Conditioning
Include AirTerminal Discipline One of Air Conditioning Vs Include Air To Air Heat Recovery Discipline One of Air Conditioning
Etc
Etc
Etc
Etc
Include AirTerminal Discipline One of Air Conditioning Vs Include Window Discipline One of Air ConditioningThen the same bit for AirTerminalBox on the left side.
This should result in 4371 rules for the Air Conditioning.
Then I wanted to do the same for all of the other disciplines available. This will result in millions of individual rules, so obviously this is impractical.
I have done this for MEP, Structural and Archi and they work great but ive realised this is only practical for relatively small federated models. Should I have federations with other disciplines I cannot use this system.
You are probably wondering why would anyone want to do this. I don’t like the results section from Solibri standard general intersection clashes, its difficult to count how many clashes are in the model as it groups the clashes by multiple categories such as Duct Vs Slab, Ceiling and pipe. Its difficult to communicate. My method means I have a long list of every clash and its split by category. They are fast to click through and approve or assign.
They also spit out real tangible numbers that I can feed into Power Bi, and then communicate progress graphs to teams and clients.I have a powerpoint i made to demonstrate this to our in house team, im attempting to share if i can.Solibri Rulesets presentation.pptx
So ive finally come to my question. How can I do this with a little more ease. Im thinking I may need to use classifications to assign ‘Model 1’ to a model and then run ‘Model 1’ Vs Everything else and do it component by component. Then I can create my BCF slides and generate numbers. Then I need to change the classification so it changes what ‘Model 1’ is and re run the process.
With everything we are hearing about machine learning and automation it should be possible to do what im trying to do without having to create nearly 2 million individual rules. I need to figure out a way to have a large set of rules that covers everything and checks models consitantly regardless of the project quality.
Im curious on your thoughts and if you think my idea is crazy……
-
Hi. If the standard clash detection does not suit your needs, one option is to use our Rules API to make a custom rule. All that is needed is a little bit of Java programming skills.
In the API we provide a service that can be used to find our intersections between components in the model.
You can find more on this from https://society.solibri.com/category/8/rule-template-api
Below is an example code snippet from a possible custom rule:Set<Intersection> intersections = IntersectionService.INSTANCE.getIntersections(Entity entity1, Entity entity2);
if (!intersections .isEmpty()) {
for (Intersection intersection : intersections) {
if (entity2 instanceof Slab && intersection.getSizeZ() > 0.01) { // something is one centimeter inside a slab in Z direction
… report an issue, group them anyway you wish
}
}
}Because the API uses a general programming language, you can even skip the normal issue creation in Solibri and write the results directly in a custom format to an Excel file, CSV or even write them to a real database for Power BI to read.
-
@lasse-lindqvist: for me, access to the Rule Template API link is denied. Could I have access to view this?
-
Hey all,
@JohnD if you are interested in attending the Beta for the API I can grant you access. Please just let me know.
@b-huijskes Sure, I can add you, so that you have access to the post.BTW, I recommend to also register for the Beta Testing (see here) as the newest Beta installers also include the newest versions of the API. More information to be found in the Developer Section.
Cheers
Cornelius -
Thank you for the lightning fast response, @cpreidel !
In addendum: once you have registered for Beta testing, you can log in on: https://solution.beta.solibri.com/ (Beta being the keyword), alongside the regular https://solution.solibri.com/.
-
@lasse-lindqvist , are there some more posts on some work done on this? Specifically, the direct write to database ?
-
@kirilmate well, writing to database is not Solibri-specific, so it depends on what database you are using and what kind of data you have.
-
@johnd said in Comprehensive hard clashes designed to pushed to power bi.:
have a general Solibri question, ive touched on it previously …
Replying to this rather old topic as I wanted to ask you how you used the mentioned mouse recorder for creating the rules as I imagine that adding new rules for different entities is difficult to achieve with this automatization task. Anyhow could you elaborate this a bit more?
Copyright © 2025 Solibri Inc. | Powered by NodeBB