Hello,
I have a list which contains of several control points. How can I double check that my desired control point is already in the list or not?
Thanks
In the List's pull method there is a parameter called flags. If you look at the documentation you'll see:
LIST_DO_NOT_REMOVEMatching entries on the list will be returned by this command, however, the entries will remain on the list. This is useful when creating a directory or routing that doesn't dynamically change.
Using this flag allows you to query the list without pulling anything off of the list. For example:
treenode result = List("FRList1").pull("WHERE value = model().find(\"Processor1\")", 0, 0, 0, 0, LIST_DO_NOT_REMOVE); //If Processor1 is on FRList1 result = Processor1
10 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