Search for all models/objects/time series #355
-
I have connected to the Mesh server with the API. I can get time series data when I now the key. But I can not find the same time series with search even if I now the path, only get and empty list back. I want to search/view all models/objects/time series on the server. Is the a root path where we can start a query from with a wildcard search? I have tried with path "" and "/" and query "*". But no result. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, I extended the The wildcard "*" works on object level, where it returns all objects, but not on attribute level. See documentation for more: Look at the above mentioned example to see how you could list all of time series attributes. For the getting the root object/model I added an issue #356. In some cases the C:\Mesh\bin>IntMeshQuery.exe
Mesh Client Serialization version 24 (max supported is 24)
connecting to Mesh server at tcp://127.0.0.1:40321 (timeout: 30)...
connected
Connected and ready: 53 ms
Action:RepositoryModels
EnergySystem
. ModelName
System
. Utility In this case the Please let me know if something is unclear. Regards, |
Beta Was this translation helpful? Give feedback.
-
Hi, The functionality for getting root object/model (#356) was added to Python SDK and requires Mesh 2.10 that will be released beginning of September. Regards, |
Beta Was this translation helpful? Give feedback.
Hi,
I extended the
timeseries_search
example with different approaches and descriptions that could serve your needs. See PR: #357.The wildcard "*" works on object level, where it returns all objects, but not on attribute level. See documentation for more:
https://volue-public.github.io/energy-mesh-python/mesh_search.html
Look at the above mentioned example to see how you could list all of time series attributes.
For the getting the root object/model I added an issue #356.
In some cases the
EnergySystem
model name is just the name of the client company. You can verify by accessing the server where Mesh is running, go to the binaries of Mesh and run a toolIntMeshQuery.exe
without any para…