<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Wall Tag Background Fill in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21824#M28940</link>
    <description>Brian,&lt;BR /&gt;
Laura is right. You need to define a fill for the poly2.&lt;BR /&gt;
I notice that not only is BP not a fill but you have&lt;BR /&gt;
commented this line out. In the parameter list you should&lt;BR /&gt;
create a fill type parameter and write a set fill statement&lt;BR /&gt;
in the script before the poly2 command that enables this fill &lt;BR /&gt;
for the poly2 command to use. Also, why are you hiding &lt;BR /&gt;
some parameters in the parameter list ?&lt;BR /&gt;
Peter Devlin</description>
    <pubDate>Mon, 04 Feb 2008 18:59:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-02-04T18:59:05Z</dc:date>
    <item>
      <title>Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21813#M28929</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello All:&lt;BR /&gt;
&lt;BR /&gt;
I'm having a little difficulty applying a background fill to a wall tag that I'm using.  The tag that I'm using is a modified version of Eric Batte's wall tag part.  What is the line of code that I can add to this part to add a solid fill inside the rectangle to block out the drawing elements beneath the tag?&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help on this!&lt;BR /&gt;

&lt;PRE&gt;ww=wall_direction

add2  label_position [2][1]+label_position [3][1],
label_position [2][2]+label_position [3][2]

IF ww = 180 THEN ww = 0
IF ww = 270 THEN ww = 90

ROT2 ww+90

IF mir=1 THEN rot2 180

PEN          LP
SET FILL BP

line2 ell*A_,0,-el*A_,0

HOTSPOT2 ell*A_,0
HOTSPOT2 -el*A_,0

If UDS=1 THEN
    FS=FS1
    ENDIF

PEN OP
rect2 ell*A_,(-s/2)*A_,(ell+s)*A_,(s/2)*A_

HOTSPOT2 0,0
HOTSPOT2 ell*A_, (-s/2)*A_
HOTSPOT2 ell*A_, (s/2)*A_
HOTSPOT2 (ell+s)*A_, (s/2)*A_
HOTSPOT2 (ell+s)*A_, (-s/2)*A_

rot2 -90
add2 0,(ell+s/2)*A_

rot2 -ww
if mir = 1 then ROT2 180

PEN          TP
DEFINE STYLE    "AC_STYLE_1" F, 
        FS*25.4/72,      5,      0
SET STYLE "AC_STYLE_1"
HOTSPOT2 0,0
TEXT2    0, 0, T&lt;/PRE&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Feb 2008 18:16:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21813#M28929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-01T18:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21814#M28930</link>
      <description>Use one of the poly2 commands&lt;BR /&gt;
not the rect2 command.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Fri, 01 Feb 2008 21:43:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21814#M28930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-01T21:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21815#M28931</link>
      <description>Peter:&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your reply.  My GDL knowledge is pretty basic, so I'm not sure where to start with your suggestion.  How would I modify the current script with the new command to produce the same output only with a solid background?&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help!&lt;BR /&gt;
&lt;BR /&gt;
Brian</description>
      <pubDate>Fri, 01 Feb 2008 22:09:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21815#M28931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-01T22:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21816#M28932</link>
      <description>Brian,&lt;BR /&gt;
Looking at your rect2 command, it appears that it will not&lt;BR /&gt;
draw a rectangle but a straight horizontal line.&lt;BR /&gt;
Is this what you see when you go to the 2D full view window ?&lt;BR /&gt;
Both "y" values are the same. They must be different to draw&lt;BR /&gt;
a rectangle.  I do not know what that second&lt;BR /&gt;
"y" value should be because I do not have the parameter&lt;BR /&gt;
list or Master script for this object. I also can't write a poly2&lt;BR /&gt;
command that draws a rectangle for the same reason.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Fri, 01 Feb 2008 23:36:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21816#M28932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-01T23:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21817#M28933</link>
      <description>Peter:&lt;BR /&gt;
&lt;BR /&gt;
Thanks for continuing to look into this.  I looked at the y values you were mentioning and, correct me if I wrong, but isn't one y value negative?  Also, I've attached a couple of screenshots of the parameters list and the 2d full view.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again, Peter!&lt;BR /&gt;
&lt;BR /&gt;
Brian</description>
      <pubDate>Fri, 01 Feb 2008 23:46:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21817#M28933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-01T23:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21818#M28934</link>
      <description>Here is the parameter list...&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/11144iBDEFC0C73F75ECB1/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Picture 3.jpg" title="Picture 3.jpg" /&gt;</description>
      <pubDate>Fri, 01 Feb 2008 23:47:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21818#M28934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-01T23:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21819#M28935</link>
      <description>Brian,&lt;BR /&gt;
Right you are. I missed that.&lt;BR /&gt;
Comment out the rect2 command like this.&lt;BR /&gt;
&lt;BR /&gt;
PEN OP&lt;BR /&gt;
!!!!rect2 ell*A_,(-s/2)*A_,(ell+s)*A_,(s/2)*A_ &lt;BR /&gt;
&lt;BR /&gt;
Write this below it.&lt;BR /&gt;
&lt;BR /&gt;
poly2 4,7,&lt;BR /&gt;
ell*A_,(-s/2)*A_,&lt;BR /&gt;
(ell+s)*A_,(-s/2)*A_,&lt;BR /&gt;
ell*A_,(-s/2)*A_,(ell+s)*A_,(s/2)*A_,&lt;BR /&gt;
ell*A_,(ell+s)*A_,(s/2)*A_&lt;BR /&gt;
&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sat, 02 Feb 2008 00:02:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21819#M28935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-02T00:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21820#M28936</link>
      <description>Brian,&lt;BR /&gt;
Sorry it should be&lt;BR /&gt;
&lt;BR /&gt;
poly2 4,7,&lt;BR /&gt;
ell*A_, (-s/2)*A_,&lt;BR /&gt;
(ell+s)*A_, (-s/2)*A_,&lt;BR /&gt;
(ell+s)*A_,(s/2)*A_,&lt;BR /&gt;
ell*A_,(s/2)*A_&lt;BR /&gt;
&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sat, 02 Feb 2008 00:32:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21820#M28936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-02T00:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21821#M28937</link>
      <description>Peter:&lt;BR /&gt;
&lt;BR /&gt;
I incorporated your code into the part, but still no opaque background.  I've attached a screenshot in case I've transcribed something incorrectly.  Any suggestions?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Brian&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13017iA34027E93DA06DF5/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Picture 1.jpg" title="Picture 1.jpg" /&gt;</description>
      <pubDate>Mon, 04 Feb 2008 16:42:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21821#M28937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-04T16:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21822#M28938</link>
      <description>You need to define a fill.  The statement 'SET FILL BP' is incorrect:  BP is the Pen, not the Fill.</description>
      <pubDate>Mon, 04 Feb 2008 18:08:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21822#M28938</guid>
      <dc:creator>Laura Yanoviak</dc:creator>
      <dc:date>2008-02-04T18:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21823#M28939</link>
      <description>Laura:&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your reply.  I understand what you were saying about the fill error.  However, that line was commented out.  I have tried to add a solid fill in the parameters list and then reference it in the 2D script, but it only partly works.  The background does show up solid, but it shows up solid red (the pen color I've been using throughout the part) instead of white.  How can I tell the background fill to be white while the outline and leg of the tag stay red?  As I told Peter in an earlier post my GDL ability is basic, so any further spelling-out you can do would be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Laura.&lt;BR /&gt;
&lt;BR /&gt;
Brian</description>
      <pubDate>Mon, 04 Feb 2008 18:45:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21823#M28939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-04T18:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21824#M28940</link>
      <description>Brian,&lt;BR /&gt;
Laura is right. You need to define a fill for the poly2.&lt;BR /&gt;
I notice that not only is BP not a fill but you have&lt;BR /&gt;
commented this line out. In the parameter list you should&lt;BR /&gt;
create a fill type parameter and write a set fill statement&lt;BR /&gt;
in the script before the poly2 command that enables this fill &lt;BR /&gt;
for the poly2 command to use. Also, why are you hiding &lt;BR /&gt;
some parameters in the parameter list ?&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Mon, 04 Feb 2008 18:59:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21824#M28940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-04T18:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21825#M28941</link>
      <description>Brian,&lt;BR /&gt;
I just read your post to Laura and understand that your&lt;BR /&gt;
requirements are more complicated than you initially indicated.&lt;BR /&gt;
You need to use one of the more advanced poly2 commands.&lt;BR /&gt;
Please read the descriptions of the various poly2 commands&lt;BR /&gt;
in the GDL manual. You probably need to use poly2_b.&lt;BR /&gt;
Or use fill 85 (Empty Fill).&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Mon, 04 Feb 2008 19:12:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21825#M28941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-04T19:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21826#M28942</link>
      <description>Brian:&lt;BR /&gt;

&lt;PRE&gt;FILL "empty fill"
POLY2_B 5, 3, 1, BP,
ell*A_, (-s/2)*A_, 1,
(ell+s)*A_, (-s/2)*A_, 1,
(ell+s)*A_,(s/2)*A_, 1,
ell*A_,(s/2)*A_, 1,
ell*A_, (-s/2)*A_, -1&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Feb 2008 20:13:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21826#M28942</guid>
      <dc:creator>Laura Yanoviak</dc:creator>
      <dc:date>2008-02-04T20:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Wall Tag Background Fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21827#M28943</link>
      <description>Laura:&lt;BR /&gt;
&lt;BR /&gt;
That worked perfectly...thank you.  I referred to the GDL manual to attempt it on my own, but I couldn't make the "1" variable make sense.  I didn't realize the variable had to appear after each set of coordinates.  Seeing your code snippet helped to clear everything up.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again for your help, Laura.&lt;BR /&gt;
&lt;BR /&gt;
Brian</description>
      <pubDate>Mon, 04 Feb 2008 23:01:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wall-Tag-Background-Fill/m-p/21827#M28943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-04T23:01:38Z</dc:date>
    </item>
  </channel>
</rss>

