How to correctly get information about the MEP system of the element to which the LABEL is attached? I would like to use this example that will get all available systems:
n = APPLICATION_QUERY ("MEPSYSTEM", "GetMEPSystems(domain)", d)
How to compare the value with the system of the given element (Duct or Pipe)? I did not find any parameter in the objects (e.g. Pipe Straight.gsm) that would refer to a specific MEP system.
Or is it necessary to choose a different path?
I couldn't find any specific example in the Archicad library in the form of a ready-made label.