Listing ID
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-24 03:04 PM
‎2005-02-24
03:04 PM
Barry Halloran
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-24 04:11 PM
‎2005-02-24
04:11 PM
Barry wrote:
Is it possible to get a part to return the value that is typed into the listing ID? Maybe using the REQUEST function? For example if a drafter types in "3046" in the listing id I can have that number return to another variable of my choosing in the parameter script? Thanks.
Barry:
Yes. From the GDL Reference Guide:
REQUEST ("ID_of_main", "", id_string)
For library parts placed on the floor plan, returns the identifier set in the tool’s settings dialog box in the id_string variable (otherwise empty string).
This should work. I have used the object's ID to display in the plan and elevation windows using the 2D and 3D scripts; I have not tried it in a parameter script. Hope this helps.
David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-24 08:30 PM
‎2005-02-24
08:30 PM
I am still struggling with this listing ID. I have not been able to find a script that would work. I found a general element parameter "GLOB_ID" which is supposed to be "ID as set in the settings dialog box" but I can't get a script to return anything. I have tried IF and THEN statements and I get no response. Thanks.
Barry Halloran
Barry Halloran
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-24 11:41 PM
‎2005-02-24
11:41 PM
Barry,
i regulary use an free object of the FC CADLink site which use this request —REQUEST ("ID_of_main", "", id_string) — and works fine :FCCL2Compteur.
This script "print" the ID in the symbol 2D.
i regulary use an free object of the FC CADLink site which use this request —REQUEST ("ID_of_main", "", id_string) — and works fine :FCCL2Compteur.
This script "print" the ID in the symbol 2D.
- compteur=""
Request ("ID_of_Main","",compteur)
define style "style_compteur" helvetica,c,5,0
set style "style_compteur"
text2 0,0,compteur