We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Collaboration with other software
About model and data exchange with 3rd party solutions: Revit, Solibri, dRofus, Bluebeam, structural analysis solutions, and IFC, BCF and DXF/DWG-based exchange, etc.

schedule criteria for ID wrong!

Dennis Lee
Booster
I am trying to list doors with ID between 1 to 4 only. However, the schedule seems to think that ID 13 and 14 also fall between 1 and 4. I actually had this kind of trouble before too, but couldn't figure out why.

Is this a bug???

greenshot_2011-07-19_11-51-54.jpg
ArchiCAD 25 & 24 USA
Windows 10 x64
Since ArchiCAD 9
5 REPLIES 5
Anonymous
Not applicable
I think this is how the numbers ware sorting. Try to begin the ID with 01...(09, 10, 11, 12....)
Dennis Lee
Booster
Learn something new everyday! Thanks.
The math expression is misleading though... 1 < 13 > 4 .....???
ArchiCAD 25 & 24 USA
Windows 10 x64
Since ArchiCAD 9
Barry Kelly
Moderator
I think your two element ID criteria need to be enclosed in brackets.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Laszlo Nagy
Community Admin
Community Admin
The thing to know here is that Element ID is a text type variable and not a number. You entered numbers for them but it will keep handling them as texts so comparisons and sorting happen on a character by character basis.
This is why putting a zero in front of single digit number will result in good sorting.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Dennis Lee
Booster
Thanks for the clarification, Laszlo, never occurred to me to consider it a text variable, but now it makes sense.
ArchiCAD 25 & 24 USA
Windows 10 x64
Since ArchiCAD 9