Global ID for Curtain Wall Custom Panel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-01 12:03 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-02 03:39 PM
I played with this a bit and found that GLOB_ID would work in the 3D Script (using Text 0, 0, GLOB_ID), but not the 2D Script (using Text2 0, 0, GLOB_ID). The GDL Reference Guide also lists CWALL_ID, but that did not work in either script.
David
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-02 03:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-02 08:43 PM
This is stupid. What's the point of the ID if the value is accessible only in the one script were it's not needed?
BTW: the value of CWALL_ID is available to a label associated to the curtain wall. At least this will be useful to my client and perhaps make up a bit for the door ID problem.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-03 11:44 AM
This is an annoying bug indeed. We didn't know about it until now. Now I entered it into our records. I'm not sure it will be fixed in a v14 hotfix though...
Thanks for the report and sorry for the inconvenience!
Regs,
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-03 02:01 PM
Matthew wrote:Which would not be what you want anyway, as the 3D text is always outline text.
I just tried all possible permutations and it seems to be impossible to get the panel ID to appear in plan. Even with a Project2 statement. The 3D script won't get the value of GLOB_ID if GLOB_CONTEXT = 2.
Zsolt:
Thanks for letting us know that this is now on the "To Do" list.
David
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-03 03:38 PM
David wrote:It was just a fall back option, but you can get filled text in plan by adjusting the Project2{2} arguments. Something like:Matthew wrote:Which would not be what you want anyway, as the 3D text is always outline text.
I just tried all possible permutations and it seems to be impossible to get the panel ID to appear in plan. Even with a Project2 statement. The 3D script won't get the value of GLOB_ID if GLOB_CONTEXT = 2.
FILL "Solid Fill"
Project2{2} 3, 270, 3
Zsolt:Yes! Thanks Zsolt for all your attention and help here on the forums. Your participation is noticed and much appreciated.
Thanks for letting us know that this is now on the "To Do" list.
David

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-04 02:50 PM
Matthew wrote:Matthew:David wrote:It was just a fall back option, but you can get filled text in plan by adjusting the Project2{2} arguments. Something like:Matthew wrote:Which would not be what you want anyway, as the 3D text is always outline text.
I just tried all possible permutations and it seems to be impossible to get the panel ID to appear in plan. Even with a Project2 statement. The 3D script won't get the value of GLOB_ID if GLOB_CONTEXT = 2.
FILL "Solid Fill"
Project2{2} 3, 270, 3
I gave this a try, but still got the outline text in the 2D Window.
3D Script:
Pen 4 DEFINE STYLE DMA Optima, 10, 7, 1 Set Style "DMA" Text .25", 0, "DVM"2D Script:
FILL "Solid Fill" Project2{2} 3, 270, 3Is there some other code I am missing?
David
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-04 06:24 PM
David wrote:You need to set a material in 3D to provide the fill. It's easy to overlook. There are a few ways to tweak it, but knowing your skill level these should be obvious to you.
I gave this a try, but still got the outline text in the 2D Window.
3D Script:Pen 4 DEFINE STYLE DMA Optima, 10, 7, 1 Set Style "DMA" Text .25", 0, "DVM"2D Script:FILL "Solid Fill" Project2{2} 3, 270, 3Is there some other code I am missing?
David
Here's the code I used in 3D:
IF GLOB_CONTEXT = 2 THEN DEFINE STYLE "text_3D" "Arial", 2.5*A_, 5, 0 STYLE "text_3D" addx open_wd*0.5 ! the transforms are to place the text to align with the door rotz -gs_open_2D ! so much easier than a door in a regular wall add -leaf_wd*0.5, -0.0035*GLOB_SCALE, 0 MATERIAL text_mat PEN text_pen Text 0.001, 0, door_ID del 3 END ENDIF
BTW: Is your DEFINE STYLE working without the quotation marks?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-02-05 01:19 PM
Matthew wrote:Yes, that was it.
You need to set a material in 3D to provide the fill. It's easy to overlook.
Matthew wrote:Yes. As it turns out, you can have the quotes or not in either Define Style or Set Style commands, works with any combination.
BTW: Is your DEFINE STYLE working without the quotation marks?
David
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14