<?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 Adding Fills to 2D GDL Objects in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Fills-to-2D-GDL-Objects/m-p/207909#M11304</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi guys and gals.&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to add a fill to an object.&lt;BR /&gt;
&lt;BR /&gt;
It's a circle with text inside.&lt;BR /&gt;
&lt;BR /&gt;
I attached the rest of the coding as well.&lt;BR /&gt;
&lt;BR /&gt;
Here is the code:&lt;BR /&gt;
&lt;FONT color="#DA0000"&gt;&lt;BR /&gt;
!&lt;BR /&gt;
!   Name     : a1 ceiling recessed downlight.gsm&lt;BR /&gt;
!   Date     : 05 June 2014&lt;BR /&gt;
!   Version  : 16.00&lt;BR /&gt;
!   Written by ArchiCAD &lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
mul2     A/0.239992, B/0.241445&lt;BR /&gt;
add2     201.1519424713, 193.3597164888&lt;BR /&gt;
pen     penAttribute_1&lt;BR /&gt;
hotspot2 -201.0319463291, -193.2389938163&lt;BR /&gt;
pen     penAttribute_2&lt;BR /&gt;
line_property       0&lt;BR /&gt;
line2    -200.911950187, -193.2389937948, -200.9168108738, -193.273005308&lt;BR /&gt;
line2    -200.9168108738, -193.273005308, -200.9309991505, -193.3042614107&lt;BR /&gt;
line2    -200.9309991505, -193.3042614107, -200.9533655673, -193.3302299193&lt;BR /&gt;
line2    -200.9533655673, -193.3302299193, -200.98209813, -193.3488070198&lt;BR /&gt;
line2    -200.98209813, -193.3488070198, -201.0148690973, -193.3584877058&lt;BR /&gt;
line2    -201.0148690973, -193.3584877058, -201.0490235605, -193.3584877059&lt;BR /&gt;
line2    -201.0490235605, -193.3584877059, -201.0817945279, -193.34880702&lt;BR /&gt;
line2    -201.0817945279, -193.34880702, -201.1105270907, -193.3302299196&lt;BR /&gt;
line2    -201.1105270907, -193.3302299196, -201.1328935075, -193.3042614111&lt;BR /&gt;
line2    -201.1328935075, -193.3042614111, -201.1470817843, -193.2730053085&lt;BR /&gt;
line2    -201.1470817843, -193.2730053085, -201.1519424713, -193.2389937953&lt;BR /&gt;
line2    -201.1519424713, -193.2389937953, -201.1470817845, -193.2049822821&lt;BR /&gt;
line2    -201.1470817845, -193.2049822821, -201.1328935078, -193.1737261794&lt;BR /&gt;
line2    -201.1328935078, -193.1737261794, -201.110527091, -193.1477576707&lt;BR /&gt;
line2    -201.110527091, -193.1477576707, -201.0817945283, -193.1291805703&lt;BR /&gt;
line2    -201.0817945283, -193.1291805703, -201.049023561, -193.1194998842&lt;BR /&gt;
line2    -201.049023561, -193.1194998842, -201.0148690978, -193.1194998842&lt;BR /&gt;
line2    -201.0148690978, -193.1194998842, -200.9820981304, -193.1291805701&lt;BR /&gt;
line2    -200.9820981304, -193.1291805701, -200.9533655676, -193.1477576704&lt;BR /&gt;
line2    -200.9533655676, -193.1477576704, -200.9309991508, -193.173726179&lt;BR /&gt;
line2    -200.9309991508, -193.173726179, -200.916810874, -193.2049822816&lt;BR /&gt;
line2    -200.916810874, -193.2049822816, -200.911950187, -193.2389937948&lt;BR /&gt;
define style{2}    "AC_STYLE_1" "Arial",        0.1,      0&lt;BR /&gt;
define style{2}    "AC_STYLE_2" "Arial",         0.075,      0&lt;BR /&gt;
&lt;BR /&gt;
paragraph		"AC_PRG_169"      2,            0,            0,            0,            1&lt;BR /&gt;
    set style "AC_STYLE_1"&lt;BR /&gt;
        "A"&lt;BR /&gt;
    set style "AC_STYLE_2"&lt;BR /&gt;
        "1"&lt;BR /&gt;
endparagraph&lt;BR /&gt;
textblock		"AC_TEXTBLOCK_169"         0.15,      1,            0,            1,            1,            0, &lt;BR /&gt;
        "AC_PRG_169"&lt;BR /&gt;
&lt;/FONT&gt;&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/19952i02A118877C8088FE/image-size/large?v=v2&amp;amp;px=999" border="0" alt="script.JPG" title="script.JPG" /&gt;</description>
    <pubDate>Tue, 09 Sep 2014 08:21:06 GMT</pubDate>
    <dc:creator>mmbrajohan</dc:creator>
    <dc:date>2014-09-09T08:21:06Z</dc:date>
    <item>
      <title>Adding Fills to 2D GDL Objects</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Fills-to-2D-GDL-Objects/m-p/207909#M11304</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi guys and gals.&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to add a fill to an object.&lt;BR /&gt;
&lt;BR /&gt;
It's a circle with text inside.&lt;BR /&gt;
&lt;BR /&gt;
I attached the rest of the coding as well.&lt;BR /&gt;
&lt;BR /&gt;
Here is the code:&lt;BR /&gt;
&lt;FONT color="#DA0000"&gt;&lt;BR /&gt;
!&lt;BR /&gt;
!   Name     : a1 ceiling recessed downlight.gsm&lt;BR /&gt;
!   Date     : 05 June 2014&lt;BR /&gt;
!   Version  : 16.00&lt;BR /&gt;
!   Written by ArchiCAD &lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
mul2     A/0.239992, B/0.241445&lt;BR /&gt;
add2     201.1519424713, 193.3597164888&lt;BR /&gt;
pen     penAttribute_1&lt;BR /&gt;
hotspot2 -201.0319463291, -193.2389938163&lt;BR /&gt;
pen     penAttribute_2&lt;BR /&gt;
line_property       0&lt;BR /&gt;
line2    -200.911950187, -193.2389937948, -200.9168108738, -193.273005308&lt;BR /&gt;
line2    -200.9168108738, -193.273005308, -200.9309991505, -193.3042614107&lt;BR /&gt;
line2    -200.9309991505, -193.3042614107, -200.9533655673, -193.3302299193&lt;BR /&gt;
line2    -200.9533655673, -193.3302299193, -200.98209813, -193.3488070198&lt;BR /&gt;
line2    -200.98209813, -193.3488070198, -201.0148690973, -193.3584877058&lt;BR /&gt;
line2    -201.0148690973, -193.3584877058, -201.0490235605, -193.3584877059&lt;BR /&gt;
line2    -201.0490235605, -193.3584877059, -201.0817945279, -193.34880702&lt;BR /&gt;
line2    -201.0817945279, -193.34880702, -201.1105270907, -193.3302299196&lt;BR /&gt;
line2    -201.1105270907, -193.3302299196, -201.1328935075, -193.3042614111&lt;BR /&gt;
line2    -201.1328935075, -193.3042614111, -201.1470817843, -193.2730053085&lt;BR /&gt;
line2    -201.1470817843, -193.2730053085, -201.1519424713, -193.2389937953&lt;BR /&gt;
line2    -201.1519424713, -193.2389937953, -201.1470817845, -193.2049822821&lt;BR /&gt;
line2    -201.1470817845, -193.2049822821, -201.1328935078, -193.1737261794&lt;BR /&gt;
line2    -201.1328935078, -193.1737261794, -201.110527091, -193.1477576707&lt;BR /&gt;
line2    -201.110527091, -193.1477576707, -201.0817945283, -193.1291805703&lt;BR /&gt;
line2    -201.0817945283, -193.1291805703, -201.049023561, -193.1194998842&lt;BR /&gt;
line2    -201.049023561, -193.1194998842, -201.0148690978, -193.1194998842&lt;BR /&gt;
line2    -201.0148690978, -193.1194998842, -200.9820981304, -193.1291805701&lt;BR /&gt;
line2    -200.9820981304, -193.1291805701, -200.9533655676, -193.1477576704&lt;BR /&gt;
line2    -200.9533655676, -193.1477576704, -200.9309991508, -193.173726179&lt;BR /&gt;
line2    -200.9309991508, -193.173726179, -200.916810874, -193.2049822816&lt;BR /&gt;
line2    -200.916810874, -193.2049822816, -200.911950187, -193.2389937948&lt;BR /&gt;
define style{2}    "AC_STYLE_1" "Arial",        0.1,      0&lt;BR /&gt;
define style{2}    "AC_STYLE_2" "Arial",         0.075,      0&lt;BR /&gt;
&lt;BR /&gt;
paragraph		"AC_PRG_169"      2,            0,            0,            0,            1&lt;BR /&gt;
    set style "AC_STYLE_1"&lt;BR /&gt;
        "A"&lt;BR /&gt;
    set style "AC_STYLE_2"&lt;BR /&gt;
        "1"&lt;BR /&gt;
endparagraph&lt;BR /&gt;
textblock		"AC_TEXTBLOCK_169"         0.15,      1,            0,            1,            1,            0, &lt;BR /&gt;
        "AC_PRG_169"&lt;BR /&gt;
&lt;/FONT&gt;&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/19952i02A118877C8088FE/image-size/large?v=v2&amp;amp;px=999" border="0" alt="script.JPG" title="script.JPG" /&gt;</description>
      <pubDate>Tue, 09 Sep 2014 08:21:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Fills-to-2D-GDL-Objects/m-p/207909#M11304</guid>
      <dc:creator>mmbrajohan</dc:creator>
      <dc:date>2014-09-09T08:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Fills to 2D GDL Objects</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Fills-to-2D-GDL-Objects/m-p/207910#M11305</link>
      <description>It looks like you have drawn your object in 2D and then selected it and saved it as an object.&lt;BR /&gt;
That is the best method for simple objects and saves you from learning to much GDL.&lt;BR /&gt;
&lt;BR /&gt;
Do the same thing but actually draw a filled polygon (magic wand to a circle with 'best fit' in the magic wand settings.&lt;BR /&gt;
Add you text and anything else you need and then select that and save as an object.&lt;BR /&gt;
It should create a script with the correct POLY command.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 09 Sep 2014 13:33:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Fills-to-2D-GDL-Objects/m-p/207910#M11305</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2014-09-09T13:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Fills to 2D GDL Objects</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Fills-to-2D-GDL-Objects/m-p/207911#M11306</link>
      <description>While not strictly necessary, it is good practice to create objects in the floor plan at or near 0,0. This will make the GDL code much clearer should you decide to start learning at some point or if someone else needs to tweak an object.</description>
      <pubDate>Tue, 09 Sep 2014 17:57:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Fills-to-2D-GDL-Objects/m-p/207911#M11306</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2014-09-09T17:57:20Z</dc:date>
    </item>
  </channel>
</rss>

