Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. General Discussion
  3. How to check if elements are close to each other if they have one property in common?

How to check if elements are close to each other if they have one property in common?

Scheduled Pinned Locked Moved General Discussion
3 Posts 3 Posters 759 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.
  • S Offline
    S Offline
    Stanislava
    wrote on last edited by
    #1

    Hi,

    we design prefabricated buildings, and every element has an ID Number. This means all subcomponents of a wall require the same ID number, e.g. window.

    So we need to check if elements which have the same ID Number are next each other/in close proximity to each other.
    For example It is important that the windows in Wall 1.1 also have the ID Number Wall 1.1 and not Wall 1.9 or 1.3 or anything else.

    I havent been able to find a way to check if elements are close to each other soley based on if they have one property in common.

    Can anyone help out here?
    Thanks in advance,

    N 1 Reply Last reply
    0
    • N Offline
      N Offline
      Nathan Ashton
      replied to Stanislava on last edited by
      #2

      @Stanislava I would also be interested to know this

      Nathan Ashton
      BIM Coordinator
      Nokera Planning, Leipzig, Germany

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

        There is a similar solution I just posted for clash using a Property Reference Parameter in the UI: https://society.solibri.com/topic/2529/compairing-certian-parameter-of-clashed-components/5

        You can use the same idea using a component distance check based on max distance visualization example, but modifying it to minimum distance in the code:
        https://solibri.github.io/Developer-Platform/latest/distanceVisualizationExample.html

        The DistanceVisualizationExample above is included in the rule examples on github: https://github.com/Solibri/api-examples

        1 Reply Last reply
        1

        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