We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2015-08-04 02:41 PM - last edited on 2024-09-24 09:51 AM by Doreena Deng
SELECT * FROM flat(objects,parameters) as T_1, flat(objects,parameters) as T_2 WHERE (T_1.library_part_name = 'Built-in Elevation Marker') and (T_1.parameters.variable_name = 'AC_TextPen_1') and (T_2.parameters.variable_name = 'Tst_1') and (T_1.parameters.value = T_2.parameters.value)from : http://archicad-talk.graphisoft.com/viewtopic.php?t=26969
SELECT xx.parameters.value, yy.parameters.value from flat (objects,parameters) as xx, flat (objects,parameters) as yy where (library_part_name like 'Wal%') and (xx.parameters.name like'Wid%' or yy.parameters.name like'Mod%')
2016-05-20 05:25 AM
Rinovo wrote:Yes, I have this suggestion: The error message that sometimes appears gives a clue. It says something like the column isn't in the table (T_1 in your cases). Don't use the * in the SELECT statement. Rather, make sure that the SELECT statement names or specifies the columns containing values you are querying in the WHERE clause(s). For example, it may be
Hi!
I'm using Archicad SQL queries and i would like to select few parameters from all of them.
Single parameter was no problem to get, but got problems getting more.
Tried using this structure :SELECT * FROM flat(objects,parameters) as T_1, flat(objects,parameters) as T_2 WHERE (T_1.library_part_name = 'Built-in Elevation Marker') and (T_1.parameters.variable_name = 'AC_TextPen_1') and (T_2.parameters.variable_name = 'Tst_1') and (T_1.parameters.value = T_2.parameters.value)from :http://archicad-talk.graphisoft.com/viewtopic.php?t=26969
Archicad just freezes, no error nothing just not responding.
Any suggestions ?
2017-07-24 04:55 PM