Hi,
does anyone know if it is possible to query a specific token by ID in this window?
I have tried different combinations with value.id, gettokenid(value) or name but they don't seem to work.
Hi,
does anyone know if it is possible to query a specific token by ID in this window?
I have tried different combinations with value.id, gettokenid(value) or name but they don't seem to work.
I´m not sure what you are exactly looking for. But for me this works fine:
So it works with standard SQL queries.
Hi Sebastian, yes, querying a label works fine with me too. What I am looking is a way to query the id of the token. From your example, lets say you want to show only the token which id is 67. Do you know how to do this?
Hi Marcello, I´ve tried some stuff and as far as I mention the ID is not easily to reference. If I push the ID to a List it sometimes even is not possible to Sort for this value. So it seems as if
token.id
does not work in this SQL field.
As a workaround I would add a label and store the information in there.
Maybe @phil.bobo or @jordan.johnson have a better solution for you!?
Thanks for the effort Sebastian. I am assuming it is currently not possible to do.
I might post it as an idea as I am dealing with a model with a few thousand tokens and 20+instances and the fact that they are sorted by Instance first and then by ID makes it very hard to find a particular token for debugging.
8 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved