Door parameters
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-11-11
05:02 PM
- last edited on
2023-05-24
10:51 AM
by
Rubia Torres
2013-11-11
05:02 PM
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-11-11 06:47 PM
2013-11-11
06:47 PM
You need to refer to the GDL Reference Manual... and should be warned, that you would have to change the script for every door in your project, saving it out with a new name, perhaps in your embedded library... and that if a library update is posted, you would have to repeat your work on the updated library to get the bug fixes or new features.
So... I recommend that you only pursue this is it is absolutely necessary / no other way to achieve what you need. (For example - do you need the ID twice because your schedule is so wide? How about making two schedules and layout them out side by side.)
The user ID field that you see in the Info Box / settings dialog is known within GDL as GLOB_ID. Page 266, GDL Ref Manual (via Help menu), or:
http://helpcenter.graphisoft.com/guides/gdl-reference-guide/miscellaneous/
So... I recommend that you only pursue this is it is absolutely necessary / no other way to achieve what you need. (For example - do you need the ID twice because your schedule is so wide? How about making two schedules and layout them out side by side.)
The user ID field that you see in the Info Box / settings dialog is known within GDL as GLOB_ID. Page 266, GDL Ref Manual (via Help menu), or:
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-11-11 07:16 PM
2013-11-11
07:16 PM
Thank you very much. I have to add parameters to all my doors anyway in order to get double doors to show up as (2) 3'-0"x7'-0". So it's no big deal. Thanks again.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-11-11 08:31 PM
2013-11-11
08:31 PM
Thanks for the help but I'm still having problems calling up the GLOB_ID in my parameters script. I think it is the syntax that is the problem. I set the parameter door_no as a text parameter. I tried "parameters door_no=GLOB_ID" and also "parameters door_no=str(GLOB_ID) but neither of these worked. Can you help me with the proper syntax? Thanks

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-11-11 09:42 PM
2013-11-11
09:42 PM
It's been a while for me since I got dirty with GDL... but I think the Parameter script is only run during user interaction:
http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/10/LibDevGuid...
Hopefully one of the GDL gurus here will suggest something.
Hopefully one of the GDL gurus here will suggest something.
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-11-11 09:50 PM
2013-11-11
09:50 PM
Thanks but I figured it out. "parameters door_no=(GLOB_ID)". This did the trick.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-11-12 01:40 AM
2013-11-12
01:40 AM
Glad you got it. Would never have guessed the need for the parentheses.
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB