Fixed named optional parameters

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-14 11:19 AM
2008-12-14
11:19 AM
THIS PAGE gives us a full list of the recognized variable names.
Or not? The GDL manual (AC12 page 188) says
But this is not in the list. The list only contains parameters starting with "ac_". Is there another page for "gs_" parameters?
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-14 08:01 PM
2008-12-14
08:01 PM
rocorona wrote:Good catch, Roberto. The Library Developer kit documents 100's of gs_ parameters for particular object subtypes... but within the page for each subtype (e.g., windows). I do not see a 'master' listing anywhere.
... the gs_ui_current_page parameter ...
But this is not in the list. The list only contains parameters starting with "ac_". Is there another page for "gs_" parameters?
Also, searching for gs_ui_current_page only turns up the quote that you gave, and library parts that contain the parameter. No documentation.
The AC 10 online standards (and downloadable 12) include references to this parameter:
If you want to use the Previous and Next buttons, too, you should add a integer parameter to your object, gs_ui_current_page. The execution environment (i.e. ArchiCAD) will set this parameter's value when the classic Previous or Next button is pushed.Oddly, the online file link calls these the "GDL Technical Standards 2.0" (for version 10). The downloadable document in the 12 lib kit simply calls them the "GDL Technical Standards".
Example showing the whole mechanism:
Karl
AC 28 USA and earlier • macOS Sequoia 15.3.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-15 09:55 AM
2008-12-15
09:55 AM
If I'm correct, that ones (or 100's...) are those you get when assigning a subtype to an object.
Then, as you get them automatically, you don't really need to know about them. But gs_ui_current_page is one of general use, you have to create in any type of object, if it uses pages in it's UI.
Then, as you get them automatically, you don't really need to know about them. But gs_ui_current_page is one of general use, you have to create in any type of object, if it uses pages in it's UI.
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________