Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. Comments & Feedback
  3. Tech Talks
  4. Solibri 9.12.9.13 - Possible issue with Relations, direction "Either" and operator "Is empty"

Solibri 9.12.9.13 - Possible issue with Relations, direction "Either" and operator "Is empty"

Scheduled Pinned Locked Moved Tech Talks
6 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • XavierX Offline
    XavierX Offline
    Xavier
    wrote on last edited by Xavier
    #1

    Good morning,

    I detected a strange workflow of Solibri, using Classification tool, Relations, and the direction “Either”.
    I share a ZIP file that contents:
    1- A video: I explain to classify MEP elements, with only 2 conectors (like pipes or terminals), taking into account if the realtion “Connected to” is empty in one of the directions (forward and backward). Whhen I select the direction “Either”:
    1.1 and the operator “Is Not empty”, it works correct: all the elements are classifyed (all the elements has “Conected to” relations in one or more direction).
    1.2 and the operator “Is empty”, it seems that it not works correctly: no elements are classifyed (some elements has no “Conected to” relations in one of the directions)
    2- The IFC file and the SMC file.

    Is there any suggestion?
    Kind regards,
    Xavier Coll
    EiPM
    Relation_Either.zip

    1 Reply Last reply
    0
    • john.lippJ Offline
      john.lippJ Offline
      john.lipp
      wrote on last edited by
      #2

      Hi @xaview

      Here is a zip with some tests classifications in an SMC:
      MEP_TEST_Support_Connection_Classification.zip

      The results you see are expected. Connected To (Either) will return a set of components with a forward connection OR components with a backward connection. Every component has one or the other (or both) in your model.

      I assume you want to find the ones that don’t have both.

      Rows in the filter are ANDed so if you have two separate rows to check for
      connections in both directions:
      31f97b3d-a46c-4299-8de7-7d5020bd7023-image.png

      Then create another classification that checks that classification for components that have either forward or backward. If they don’t have both, they are missing one:
      88d52639-5058-4158-8b29-13a298c7644f-image.png

      john.lippJ 1 Reply Last reply
      1
      • john.lippJ Offline
        john.lippJ Offline
        john.lipp
        replied to john.lipp on last edited by john.lipp
        #3

        Also note that a component like a duct or pipe can have two forward components as I see in the BuildingSmart clinic sample model:
        0eb30d22-e805-4ff9-9ece-dcfa62ba15d6-image.png

        XavierX 1 Reply Last reply
        1
        • XavierX Offline
          XavierX Offline
          Xavier
          replied to john.lipp on last edited by
          #4

          Thanks a lot @john-lipp for your support!
          Fast and super detailed, as always : D

          Well, the idea is to create only one Classification to detect if at least any direction of the “Connected to” is empty. This strategy works when I configure a Classification, filtering elements in a specific direction, but Classification doesn’t works if I try to filter elements in backward or forward together in the same classification.

          These are my tests:

          • Test_01 -> ConnectedTo + Backward + Empty -> It works, filtering the elements only in the direction Backward. This test is the first step towars my idea to have a unique classification.
          • Test_02 -> ConnectedTo + Forward + Empty -> It works, filtering the elements only in the direction Forward. This test is the second step towars my idea to have a unique classification.
          • Test_03 > ConnectedTo + Forward+Backward + Empty -> It’s a filtering setting, combining the two previous test, and the results doesn’t works, nothing it’s selected.
          • Test_04 -> ConnectedTo + Either -> Classificator select ALL the elements that has any relation “Connected to”, so the result it’s not aligned with the required idea.
          • Test_05 -> ConnectedTo + Either + Empty - classificator doesn’t select elements, so the result it’s not aligned with the required idea.

          I share:

          • The SMC file
          • Screenshots of each test.

          Thanks in advance!
          kind regards,
          Xavier Coll
          EiPM
          MEP_TEST.smc
          Test_01.png
          Test_02.png
          Test_03.png
          Test_04.png
          Test_05.png

          john.lippJ 1 Reply Last reply
          0
          • john.lippJ Offline
            john.lippJ Offline
            john.lipp
            replied to Xavier on last edited by
            #5

            @Xavier

            I wasn’t able to find a way either, which is why I was required to create two classifications.

            From my previous post :

            You are able to use a classification filter to find a component that has both Forward AND Backward: 6dce3786-3b9f-4ad0-a445-60e8bfd21d63-image.png

            Anything filtered by the classification settings has both directions and is classified as such:
            d4c5bc7e-0120-4c6e-9812-2438937b9ef1-image.png

            The classification to find missing ones filters any components that has either direction that isn’t empty (at least one direction exists)
            ced4105a-26a3-44c1-bfde-f7f0706af4e2-image.png

            It first checks those components to see if they have both using the other classification. If no, it has to have one missing.
            6a92559a-62b6-470d-b395-ca37e76424ed-image.png

            Since there isn’t any method to OR the filters in the settings of the classification, two have to be used. There are enhancement requests logged with development regarding relations in the actual classification rules, which is what would be needed to have only one classification.

            My tests added to mep_test_Support20220516.zip your last file is here:

            XavierX 1 Reply Last reply
            2
            • XavierX Offline
              XavierX Offline
              Xavier
              replied to john.lipp on last edited by
              #6

              Thanks a lot for your support, @john-lipp !
              we will wait this new improvement.
              Kind regards,
              Xavier Coll
              EiPM

              1 Reply Last reply
              0

              Copyright © 2025 Solibri Inc. | Powered by NodeBB

              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories