Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. General Discussion
  3. Classification with unclear property names

Classification with unclear property names

Scheduled Pinned Locked Moved General Discussion
3 Posts 3 Posters 560 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.
  • A Offline
    A Offline
    Antti Leväniemi
    wrote on last edited by
    #1

    Apologies if this has already been covered in some discussion, I tried to search but couldn’t find topics related to this issue.

    So the problem is as follows:

    I am trying to create a classification that works for a large variety of models regardless of their exact definition of the properties. Is it possible to search for a certain value from all of the properties of a property set? For example, if I want to search for “EI90” from the property set “MagiCAD Pset_Elbow” but the exact property that contains the information varies.

    20e06233-2e1d-4a89-bccf-58142115dec6-image.png

    Furthermore, is it possible to search for a certain value from all of the properties regardless if they are located in the “Identification”-tab or in some external property set? Or what if there are two pieces of text that need to be included in some of the properties, for example “STAIR” and “E9” has to be found from a certain property set, but they can be in any of the properties or even both in the same property?

    I already found out that it is possible to search through different property sets if the property name itself is known like this, but this doesn’t seem to work if the property name is left open:

    e44c6a72-e0bc-4bde-90a4-692046899e30-image.png

    In this example the classification works for ConnectionSize_mm for both “MagiCAD Pset_Duct” and “MagiCAD Pset_Elbow”, since the property name is identical in both property sets and the beginning of the property set name matches the inquiry.

    Thanks in advance!

    Cheers, Antti

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lasse.lindqvist
      wrote on last edited by
      #2

      Well one way to do this is to implement your own custom information (https://society.solibri.com/topic/563/information-api) that tries to look for the properties any way you want. You can then use this information in the classification rules.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TheoR
        wrote on last edited by
        #3

        “Is it possible to search for a certain value from all of the properties of a property set? For example, if I want to search for “EI90” from the property set “MagiCAD Pset_Elbow” but the exact property that contains the information varies.”

        You can use the wildcard (*) for that.
        So you search in all property sets and all properties:

        22e41fe5-7039-4d4e-8d82-2c8ff39e3960-image.png

        However, I don’t know how this affects your performance, so like you found yourself already, rather use, for instance:

        "MagiCAD Pset_*.Insulation*"
        

        Within the values you can also use wildcards

        EI90       -->   only matches 'EI90'
        *EI90      -->   matches 'Firerating EI90'
                              or 'EI90'
        EI90*      -->   matches 'EI90 Firerating'
                              or 'EI90'
        *EI90*     -->   matches 'Firerating EI90 minutes' 
                              or 'Firerating EI90' 
                              or 'EI90 Firerating' 
                              or just 'EI90'
        
        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