SQL Parameters
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2017-07-24 11:46 AM
ā2017-07-24
11:46 AM
Labels:
- Labels:
-
Data management
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2017-07-24 01:55 PM
ā2017-07-24
01:55 PM
kmcw_ wrote:Hi,
Entering the "SELECT parameters FROM Objects" gives me all Parameters of every Object. they seem to be in one extra table in the column "Parameters". How can I Select Objects having one single Parameter (f.e. "testparameter001" in common.
The SQL queries are not supported any more officially (the last supported version was ARCHICAD 18 ), so don't rely on them. Someone else here may be able to answer you question.
Sorry, Akos
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2017-07-24 02:43 PM
ā2017-07-24
02:43 PM
But it still works š (AC 20) I just can't find the right syntax For objects.parameters
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2017-07-24 05:27 PM
ā2017-07-24
05:27 PM
kmcw_ wrote:I'd strongly recommend not using unsupported technology ā you're setting yourself up for a disaster. If GS hasn't updated it beyond 20, the fact that it appears to work is coincidental and almost certainly unstable.
But it still worksš (AC 20) I just can't find the right syntax For objects.parameters
Ralph Wessel BArch
Central Innovation
Central Innovation

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2017-07-25 11:38 AM
ā2017-07-25
11:38 AM
The command is already removed in 21. It's sad, but I guess there were just too few users who actually used it.
Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |
POSIWID ā The Purpose Of a System Is What It Does /// Ā«Furthermore, I consider that Carth... yearly releases must be destroyedĀ»
POSIWID ā The Purpose Of a System Is What It Does /// Ā«Furthermore, I consider that Carth... yearly releases must be destroyedĀ»
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2017-09-11 04:00 PM
ā2017-09-11
04:00 PM
Actually it works fine with:
SELECT LIBRARY_PART_NAME, XX.PARAMETERS.NAME, XX.PARAMETERS.VALUE
FROM FLAT( OBJECTS, PARAMETERS) AS XX
BUT ehen I whant to add
WHERE XX.PAREMETER.VALUE=1
I get an error that It cant transform datatype GDLVARIANT to typ 1. I tried to use
CAST (XX.PARAMETERS.VALUES AS *) * for "*" I tried: "CHAR", "VARCHAR" or "string"
But the error remains the same. Can somone tell me how to transvorm a "GDLVARIANT" into something I can use? THX
SELECT LIBRARY_PART_NAME, XX.PARAMETERS.NAME, XX.PARAMETERS.VALUE
FROM FLAT( OBJECTS, PARAMETERS) AS XX
BUT ehen I whant to add
WHERE XX.PAREMETER.VALUE=1
I get an error that It cant transform datatype GDLVARIANT to typ 1. I tried to use
CAST (XX.PARAMETERS.VALUES AS *) * for "*" I tried: "CHAR", "VARCHAR" or "string"
But the error remains the same. Can somone tell me how to transvorm a "GDLVARIANT" into something I can use? THX

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2017-09-12 12:39 PM
ā2017-09-12
12:39 PM
Hello,
Try to use this query:
It works in ArchiCAD 20.
Best,
MihƔly
Try to use this query:
SELECT LIBRARY_PART_NAME, XX.PARAMETERS.NAME, XX.PARAMETERS.VALUE FROM FLAT(OBJECTS, PARAMETERS) AS XX WHERE CAST (XX.PARAMETERS.VALUE AS CHAR(50)) = '1'
It works in ArchiCAD 20.
Best,
MihƔly