cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
GDL
About building parametric objects with GDL.
SOLVED!

Graphic Overrides: Exception in GDL object

Jochen Suehlo
Moderator

Is it possible to use graphic overrides in GDL objects and create a kind of exception for a special part.
Concrete case: Electrical Plan in 2D: All contours of furniture are in color grey with dotted lines, but the electrical connection point of the furniture shall stay in red with solid lines.

Jochen Suehlo . AC12-28 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Jochen Suehlo
Moderator

Here is a workaround that helped me achieve my goal:
a) Simply do not select a fill type (in this case, “cover fill”) in GO.
b) Define the fill type in the 2D script with Frame_fill = 64.
c) Display the edge of the box and the text as fills as well.
Fills_GO.png

Jochen Suehlo . AC12-28 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de

View solution in original post

4 REPLIES 4
runxel
Hero

I wish, Jochen! That would be great!

But I think this belongs on the wish list... 😓

Lucas Becker | AC 29 on Mac (Sequoia) | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | 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»
Barry Kelly
Moderator

Graphic Overrides affect the entire element.

As far as I know, it is not possible in GDL to even know if a GO has been applied.

 

You could do similar in Model View Options and create Library Globals that you can switch on/off.

But you will need your own custom objects to read the Library Globals, as the default objects will not be set up to do so.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Solution
Jochen Suehlo
Moderator

Here is a workaround that helped me achieve my goal:
a) Simply do not select a fill type (in this case, “cover fill”) in GO.
b) Define the fill type in the 2D script with Frame_fill = 64.
c) Display the edge of the box and the text as fills as well.
Fills_GO.png

Jochen Suehlo . AC12-28 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de

Yeah categorizing fills by type is the only solution I've had up my sleeve too.

You're out of luck with more then 3 fills or with lines in general tho 😄

Lucas Becker | AC 29 on Mac (Sequoia) | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | 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»