2025-07-14
02:21 PM
- last edited on
2025-07-14
05:50 PM
by
Laszlo Nagy
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.
Solved! Go to Solution.
2025-07-15 05:55 PM
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.
2025-07-14 02:59 PM
I wish, Jochen! That would be great!
But I think this belongs on the wish list... 😓
2025-07-15 02:30 AM - edited 2025-07-15 02:30 AM
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.
2025-07-15 05:55 PM
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.
2025-07-15 06:41 PM
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 😄