Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2004-06-29
08:46 AM
- last edited on
2023-05-24
12:13 PM
by
Rubia Torres
2004-07-04 08:08 PM
laszlonagy wrote:I followed your instruction minutely, but it reports that "a column" of that name couldnt be found. I wasnt looking for a column.
SELECT O.PARAMETERS.NAME, O.PARAMETERS.TYPE, O.PARAMETERS.VALUE
FROM FLAT(OBJECTS, PARAMETERS) AS O
WHERE OBJECTS.LIBRARY_PART_NAME='Armchair 01'
2004-07-04 08:25 PM
laszlonagy wrote:I discovered the problem!!! If you use single quotes, it works. If you use double quotes, it thinks you are looking for a column!!
If you go to Calculate\SQL\Query (make sure SQL is enabled from the lowermost drop-down list in Options\Preferences\Imaging and Calculation, so it appears in the Calculate menu) and type the following:
SELECT O.PARAMETERS.NAME, O.PARAMETERS.TYPE, O.PARAMETERS.VALUE
FROM FLAT(OBJECTS, PARAMETERS) AS O
WHERE OBJECTS.LIBRARY_PART_NAME='Armchair 01'
2004-07-06 07:50 AM
2004-07-06 10:34 AM
Vitruvius wrote:Well how about....? in the same way that Save As... is intelligent enough to know if you are saving a Plan, an Archive, an Image or many other things, why cant Save As (when you have the GDL Dialog in the foreground) include a choice of "parameter list". ?? - dumps out a tabbed table like the one from SQL.
Thanks for the valuable inputs - however - in respect of my original query: Yes the methodology described works but it's far from intuitive and it is time consuming vis-a-vis the simple act of hitting the 'print' key.
How about it Graphisoft?
2004-07-06 11:19 AM
2004-07-06 11:52 AM
Vitruvius wrote:Perhaps there is another Criterion name in the SQL query that would reveal the names of the variables.... Laszlo??
I want to be able to print this out to assist with writing GDL - it's currently too clumsy to have to review/remember long series of parameters & variables on screen.
2004-07-06 04:52 PM
2004-07-06 06:17 PM
laszlonagy wrote:Thank you, Laszlo.
The Graphisoft SQL documentation can be downloaded from Graphisoft athttp://www.graphisoft.com/support/developer/documentation/
It is part of the ArchiCAD ODBC driver documentation (ODBC Help).
2004-07-07 11:46 AM
2004-07-07 12:13 PM