<?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: For i=1 statement in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/For-i-1-statement/m-p/273321#M4424</link>
    <description>Never mind, realised my add wasn't correct. Silly mistake.</description>
    <pubDate>Tue, 06 Mar 2018 12:23:32 GMT</pubDate>
    <dc:creator>JGoode</dc:creator>
    <dc:date>2018-03-06T12:23:32Z</dc:date>
    <item>
      <title>For i=1 statement</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/For-i-1-statement/m-p/273320#M4423</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;For some reason this won't work. Any thoughts as to why?&lt;BR /&gt;

&lt;PRE&gt;PEN gs_cont_pen
FILL gs_fill_type

!=============================
FOR i=1 to num
	poly2_b{5}       5,      3,      0,      3,     gs_fill_pen,     gs_back_pen, 
					   0,            0,            1,            0,            0,            1,            0, 
					 A, 0,      1, 
					 A,          B,      1, 
			0,         B,      1, 
			0, 0,      1, 
					 A, 0,      1
	
	if (double_on = 0) then
		if (comp_on) then
			poly2_b{5}       5,      3,      0,      3,     gs_fill_pen,     gs_back_pen, 
							   0,            0,            1,            0,            0,            1,            0, 
						 0.22737,        B/2-0.224,      1, 
						 0.32982,      B/2-0.21503,      1, 
						  0.2906,      B/2+0.23328,      1, 
						 0.18816,       B/2+0.2243,      1, 
						 0.22737,        B/2-0.224,      1
	
			poly2_b{5}       5,      3,      0,      3,     gs_fill_pen,     gs_back_pen, 
							   0,            0,            1,            0,            0,            1,            0, 
					0.2147752197189,         B/2-0.08,      1, 
					0.2007810194066,         B/2+0.08,      1, 
							0.18,         B/2+0.08,      1, 
							0.18,         B/2-0.08,      1, 
					0.2147752197189,         B/2-0.08,      1
	
		endif
	
		if (panel_on) then
			poly2_b{5}       5,      3,      0,      3,     gs_fill_pen,     gs_back_pen, 
							   0,            0,            1,            0,            0,            1,            0, 
						  -0.015,          B,      1, 
						  -0.015, 0,      1, 
						   0.015, 0,      1, 
						   0.015,          B,      1, 
						  -0.015,          B,      1
		endif
	
	
	else
		if (comp_on) then
			poly2_b{5}       5,      3,      0,      3,     gs_fill_pen,     gs_back_pen, 
							   0,            0,            1,            0,            0,            1,            0, 
						 A/2+0.29538,      B/2-0.22742,      1, 
						 A/2+0.29538,       B/2+0.2226,      1, 
						 A/2+0.22302,       B/2+0.2226,      1, 
						 A/2+0.22302,      B/2-0.22742,      1, 
						 A/2+0.29538,      B/2-0.22742,      1
	
			poly2_b{5}       5,      3,      0,      3,     gs_fill_pen,     gs_back_pen, 
							   0,            0,            1,            0,            0,            1,            0, 
							A/2+0.18,         B/2-0.08,      1, 
						 A/2+0.22302,         B/2-0.08,      1, 
						 A/2+0.22302,         B/2+0.08,      1, 
							A/2+0.18,         B/2+0.08,      1, 
							A/2+0.18,         B/2-0.08,      1
	
			poly2_b{5}       5,      3,      0,      3,     gs_fill_pen,     gs_back_pen, 
							   0,            0,            1,            0,            0,            1,            0, 
						  A/2-0.2906,      B/2-0.23328,      1, 
						 A/2-0.18816,       B/2-(0.8-0.5757),      1, 
						 A/2-0.22737,        B/2+(1.024-0.8),      1, 
						 A/2-0.32982,      B/2+(1.01503-0.8),      1, 
						  A/2-0.2906,      B/2-0.23328,      1
	
			poly2_b{5}       5,      3,      0,      3,     gs_fill_pen,     gs_back_pen, 
							   0,            0,            1,            0,            0,            1,            0, 
					A/2-(0.8-0.5992189805934),         B/2-0.08,      1, 
							A/2-0.18,         B/2-0.08,      1, 
							A/2-0.18,         B/2+0.08,      1, 
					A/2-(0.8-0.5852247802811),         B/2+0.08,      1, 
					A/2-(0.8-0.5992189805934),         B/2-0.08,      1
		endif
	
		if (panel_on) then
			poly2_b{5}       5,      3,      0,      3,     gs_fill_pen,     gs_back_pen, 
							   0,            0,            1,            0,            0,            1,            0, 
						   A/2-0.015, 0,      1, 
						   A/2+0.015, 0,      1, 
						   A/2+0.015,          B,      1, 
						   A/2-0.015,          B,      1, 
						   A/2-0.015, 0,      1
		endif
	
	endif
	

	ADDy B + gap
NEXT i

DEL TOP&lt;/PRE&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Mar 2018 12:19:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/For-i-1-statement/m-p/273320#M4423</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2018-03-06T12:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: For i=1 statement</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/For-i-1-statement/m-p/273321#M4424</link>
      <description>Never mind, realised my add wasn't correct. Silly mistake.</description>
      <pubDate>Tue, 06 Mar 2018 12:23:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/For-i-1-statement/m-p/273321#M4424</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2018-03-06T12:23:32Z</dc:date>
    </item>
  </channel>
</rss>

