Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. General Discussion
  3. Rule SOL/226/3.1 and Spaces

Rule SOL/226/3.1 and Spaces

Scheduled Pinned Locked Moved General Discussion
10 Posts 3 Posters 2.0k 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.
  • B Offline
    B Offline
    BIM1337
    wrote on last edited by
    #1

    Is there a way to make this rule detect spaces? I can’t seem to get it to work.
    Or perhaps there is another rule to detect what spaces are on both sides of a door?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      simon.gilbert Solibrians
      wrote on last edited by
      #2

      You can use rule #231 Comparison Between Property Values.
      Setting the first filter to Doors, and setting the Target Type = Text = Corridor (for example) - This is the value in the door you will be looking for later. Then in the compared properties choose Related component and in the relation set the type to referencing with a backward direction. Set the filter for components to compare to the spaces, then set the quantifier to “at least one” set the compared component property to Name and then the operator to Matches.

      See image below, this will produce passed items for doors with the matched value. You can then use these elements in a subrule with the gatekeeper functionality.

      6fbb7ffd-b146-4807-95d9-87a513afa13c-image.png

      Image showing the checked components.

      d76a40eb-c109-4525-a510-42c631fcb80f-image.png

      Hope this helps.

      B 1 Reply Last reply
      0
      • B Offline
        B Offline
        BIM1337
        replied to simon.gilbert on last edited by BIM1337
        #3

        @simon-gilbert said in Rule SOL/226/3.1 and Spaces:

        You can use rule #231 Comparison Between Property Values.
        Setting the first filter to Doors, and setting the Target Type = Text = Corridor (for example) - This is the value in the door you will be looking for later. Then in the compared properties choose Related component and in the relation set the type to referencing with a backward direction. Set the filter for components to compare to the spaces, then set the quantifier to “at least one” set the compared component property to Name and then the operator to Matches.

        See image below, this will produce passed items for doors with the matched value. You can then use these elements in a subrule with the gatekeeper functionality.

        6fbb7ffd-b146-4807-95d9-87a513afa13c-image.png

        Image showing the checked components.

        d76a40eb-c109-4525-a510-42c631fcb80f-image.png

        Hope this helps.

        Thanks but I’m getting:

        Evaluation of checked and compared component property values is not possible, because the types don't match.
        

        Also in your checked components I’m only seeing Doors? I’d also want the spaces on each side of the door.

        Edit: nvm, I didn’t set Compared Components Property to Name.
        I’ve just set a Target Value that doesn’t have any matching Text in order to get all the Doors with the Spaces included.
        The thing is I’m not getting the correct Space on every door, I want the spaces in front and in back, but some are giving a Space next to it.

        639d302f-c152-4634-9773-85a859007631-image.png
        fe56302b-d692-4d1d-bf04-b7894d85c841-image.png

        I’ve been using the Component Distance Rule to try this out and I’m getting the same situation where it will also produce results with spaces on the side of the door.

        Which is why I want to use rule SOL/226/3.1, to produce a clash result with the spaces on both sides of a door. Because the rule will produce a bounding box on both sides of the door. Yet it doesn’t detect a clash with spaces, if it would detect the spaces I would achieve the desired result. Perhaps there is a different rule to achieve this?

        1 Reply Last reply
        0
        • B Offline
          B Offline
          BIM1337
          wrote on last edited by
          #4

          I noticed changing Relation to Nearest Spaces Direction Forward produces different results. But it would seem not the desired output for all the doors, which is why I want SOL 226 to detect spaces to still achieve the result I’m looking for. I need the spaces on both sides of the doors.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            simon.gilbert Solibrians
            wrote on last edited by
            #5

            Rule 231, compares properties of components within the same component or ones in related components. In this case we are setting the value that we are looking for with the doors and comparing this to the name value in the related space. This rule expects the comparison to be based on properties of the same type i.e. numerical, strings etc Your error is because it will be trying to compare one property type against another that is different. The example above would allow you to identify all doors that have a relationship to a particular space, then for these doors you can then subsequently check the space the other side of the door with the sub-rule.

            Can you let us know what is your main requirement i.e. end goal. Rule 226 doesn’t take spaces into consideration. But we may be able to advise you better based on what your requirement.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              simon.gilbert Solibrians
              wrote on last edited by
              #6

              The Example rules folder, has another example of rule 231 which can be used to check that doors are connected to 2 spaces etc.

              Please indicate the outcome so that we can suggest the best rule definition.

              B 1 Reply Last reply
              0
              • B Offline
                B Offline
                BIM1337
                replied to simon.gilbert on last edited by
                #7

                @simon-gilbert said in Rule SOL/226/3.1 and Spaces:

                The Example rules folder, has another example of rule 231 which can be used to check that doors are connected to 2 spaces etc.

                Please indicate the outcome so that we can suggest the best rule definition.

                alt text
                This is basically the outcome I’m looking for. A clash result containing the door and the blue spaces on both sides of the door.

                Using rule 231 it will sometimes give a result that contains one space that is correct, but the other space will be the one next to the door, instead of the space pointed at by the arrows in my screenshot. Like in the below image.
                alt text

                I noticed changing Relation to Nearest Spaces Direction Forward produces different results in rule 231, but still not the output I want for all the doors.

                This is why I want to use rule 226 and just need it to detect the spaces as an object that isn’t allowed in the area near the door, then I will have my desired outcome, kind of like this:
                5097d325-bad7-443d-911c-fdb4b7ddfc29-image.png

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  BIM1337
                  wrote on last edited by
                  #8

                  52590784-bf7b-4d28-945d-0a1a73fe4a05-image.png
                  For rule 231 when using Referencing or Nearest Spaces, I’m not getting consistent results. Because for one door both spaces are in Nearest Spaces but for another they’re in Referencing.

                  That’s why in my opinion Rule 226 will just detect the Spaces on the sides I’m looking for, if it would detect spaces.

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

                    @BIM1337

                    Does Component Distance work to check a door within 1mm of a Space? This will allow you to control the allowed distance to be considered (rather than relying on the nearest space algorithm).

                    Solibri Building - Doors with 2 Spaces.smc

                    B 1 Reply Last reply
                    0
                    • john.lippJ john.lipp referenced this topic on
                    • B Offline
                      B Offline
                      BIM1337
                      replied to john.lipp on last edited by
                      #10

                      @john-lipp said in Rule SOL/226/3.1 and Spaces:

                      @BIM1337

                      Does Component Distance work to check a door within 1mm of a Space? This will allow you to control the allowed distance to be considered (rather than relying on the nearest space algorithm).

                      Solibri Building - Doors with 2 Spaces.smc

                      Already tried this, it’s like I said in the earlier post. It’ll also give results with spaces next to it if that’s closer than the space in front or behind the door.

                      So that’s not giving the desired results.

                      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