We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

opaque fill in the section cut?

Anonymous
Not applicable
How about this one? The section marker is transparent...I'd like them to be opaque, so I don't see my decking pattern. Pls note the window markers ARE opaque, so other settings are in order. Is there a way of making the section marker background opaque?
Thanks..!

section.jpg
15 REPLIES 15
LiHigh
Newcomer
David,

As far as INT Library is concerned, I don't think unhiding AC_MarkerFill would works.

Here is part of the 2D script extracted from "Marker Head" (macro) which is used in Standard Detail Maker 10. Clearly, even AC_MarkerFill is set to Solid Fill, we won't be able change Fill Pen color.

If gs_marker_shape_m<>"9" Then
drawindex 20
mask=1+2+4
pen gs_cont_pen
if AC_MarkerFill<>0 then fill AC_MarkerFill
fpn=2
bpn=91
If gs_marker_shape_m="1" Then
If abs(gs_ext_angle-90)<eps or abs(gs_ext_angle-270)<eps Then
AC_MarkerOffset_X=0
If abs(gs_ext_angle-90)<eps Then AC_MarkerOffset_Y=AC_MarkerSize/2 Else AC_MarkerOffset_Y=-AC_MarkerSize/2
Else
If abs(gs_ext_angle-180)<eps Then AC_MarkerOffset_X=-AC_MarkerSize/2 Else AC_MarkerOffset_X=AC_MarkerSize/2
AC_MarkerOffset_Y=0
EndIf

add2 AC_MarkerOffset_X,AC_MarkerOffset_Y
rot2 gs_marker_rotation

poly2_b 2, mask, fpn, bpn,
0,0,901,
AC_MarkerSize/2,360,4001

pen gs_div_pen
line2 -AC_MarkerSize/2,0,AC_MarkerSize/2,0
del 2
Howard Phua

Win 10, Archicad 19 INT
Anonymous
Not applicable
That is what I am finding too. Screen shot attached. You can toggle on the fill, set it to solid, but then you can't specify a white pen.

At this point I am still looking for a solution to something that should be a standard.
David Maudlin
Rockstar
LiHigh wrote:
David,

As far as INT Library is concerned, I don't think unhiding AC_MarkerFill would works.

Here is part of the 2D script extracted from "Marker Head" (macro) which is used in Standard Detail Maker 10. Clearly, even AC_MarkerFill is set to Solid Fill, we won't be able change Fill Pen color.

...
if AC_MarkerFill<>0 then fill AC_MarkerFill
fpn=2
bpn=91
...

...
poly2_b 2, mask, fpn, bpn,
0,0,901,
AC_MarkerSize/2,360,4001
...
LiHigh:

You are correct, the pens for the foreground and background of the fill have been hard coded (not parametric). What I am recommending is setting the fill type to Empty Fill, not Solid Fill, as the Solid Fill will use the foreground pen (# 2 in the code above, fpn), while the Empty Fill will use the background pen (# 91 in the code above, bpn). Pen 91 has been the default white pen in ArchiCAD until version 10 introduced optional pen sets. If you set your pen # 91 to white, and your fill to Empty Fill, then the marker should have a white opaque mask.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
David Maudlin
Rockstar
Burginger wrote:
That is what I am finding too. Screen shot attached. You can toggle on the fill, set it to solid, but then you can't specify a white pen.
Mark:

Don't set the fill to Solid, set it to Empty (just as you could use an Empty Fill with a white background pen to mask an element). Since the background pen of the fill in the Marker has been set to pen #91, just make sure that pen #91 in you pen set is set to white (until version 10, pen #91 has been the white pen by default, it is probably best to leave it white for compatibility with earlier library parts).

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Anonymous
Not applicable
Thanks, that does work once I checked the Model View Options to "by element".



Hopefully this thread helps someone else.
David Maudlin
Rockstar
Burginger wrote:
Thanks, that does work once I checked the Model View Options to "by element".
Mark:

Good catch, I don't know that that setting would have occurred to me to get this to work.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14