<?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: optional hole in prism command in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4976#M41764</link>
    <description>I would use GET/ PUT to define and call the two different PRISM coordinates.</description>
    <pubDate>Tue, 23 Dec 2003 04:40:34 GMT</pubDate>
    <dc:creator>David Larrew</dc:creator>
    <dc:date>2003-12-23T04:40:34Z</dc:date>
    <item>
      <title>optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4975#M41763</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi anyone know a trick to script a prism command so that an inserted hole is on or off? Making a zero sized hole obviously gives an error&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Dec 2003 01:36:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4975#M41763</guid>
      <dc:creator>Aussie John</dc:creator>
      <dc:date>2003-12-23T01:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4976#M41764</link>
      <description>I would use GET/ PUT to define and call the two different PRISM coordinates.</description>
      <pubDate>Tue, 23 Dec 2003 04:40:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4976#M41764</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2003-12-23T04:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4977#M41765</link>
      <description>thanks David- can you direct me to an example?</description>
      <pubDate>Tue, 23 Dec 2003 04:46:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4977#M41765</guid>
      <dc:creator>Aussie John</dc:creator>
      <dc:date>2003-12-23T04:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4978#M41766</link>
      <description>This would be a rough example:&lt;BR /&gt;
&lt;BR /&gt;
NO_HOLE is a boolean (ON/OFF) parameter&lt;BR /&gt;
x#, y# are the prism coordinates (with masks)&lt;BR /&gt;
prism_height is a parameter&lt;BR /&gt;
&lt;BR /&gt;
If NO_HOLE Then&lt;BR /&gt;
PUT	x1, y1, 1,&lt;BR /&gt;
	x2, y2, 1,&lt;BR /&gt;
	x3, y3, 1,&lt;BR /&gt;
	x4, y4, 1,&lt;BR /&gt;
	x5, y5, -1&lt;BR /&gt;
Else&lt;BR /&gt;
PUT	x1, y1, 1,&lt;BR /&gt;
	x2, y2, 1,&lt;BR /&gt;
	x3, y3, 1,&lt;BR /&gt;
	x4, y4, 1,&lt;BR /&gt;
	x5, y5, -1,&lt;BR /&gt;
	x6, y6, 1,&lt;BR /&gt;
	x7, y7, 1,&lt;BR /&gt;
	x8, y8, 1,&lt;BR /&gt;
	x9, y9, -1&lt;BR /&gt;
EndIf&lt;BR /&gt;
&lt;BR /&gt;
PRISM_	NSP/3, prism_height, GET (NSP)&lt;BR /&gt;
&lt;BR /&gt;
End&lt;BR /&gt;
&lt;BR /&gt;
You "PUT" coordinates into the objects buffer, then "GET" the "NSP" (number of stored parameters in the buffer).</description>
      <pubDate>Tue, 23 Dec 2003 05:15:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4978#M41766</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2003-12-23T05:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4979#M41767</link>
      <description>thanks that looks good- have a good xmas</description>
      <pubDate>Tue, 23 Dec 2003 06:02:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4979#M41767</guid>
      <dc:creator>Aussie John</dc:creator>
      <dc:date>2003-12-23T06:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4980#M41768</link>
      <description>Glad to help.&lt;BR /&gt;
&lt;BR /&gt;
Thanks, you have a good holiday, also! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 23 Dec 2003 06:20:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4980#M41768</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2003-12-23T06:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4981#M41769</link>
      <description>&lt;BLOCKQUOTE&gt;Aussie wrote:&lt;BR /&gt;Hi anyone know a trick to script a prism command so that an inserted hole is on or off? Making a zero sized hole obviously gives an error&lt;/BLOCKQUOTE&gt;

If you're using AC8, you should have a look at the boolean operation in GDL scripts : it should be even easier to manipulate... (I've never managed very well the PUT and GET command  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; )&lt;BR /&gt;
&lt;BR /&gt;
have a look at : &lt;BR /&gt;
&lt;A href="http://download.graphisoft.com/ftp/publishing/ac_help/wwhelp/wwhimpl/js/html/wwhelp.htm?href=AC81_NewHelp-31-62.html" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://download.graphisoft.com/ftp/publishing/ac_help/wwhelp/wwhimpl/js/html/wwhelp.htm?href=AC81_NewHelp-31-62.html" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;&amp;lt;LINK_TEXT text=&amp;quot;http://download.graphisoft.com/ftp/publ ... 31-62.html&amp;quot;&amp;gt;http://download.graphisoft.com/ftp/publishing/ac_help/wwhelp/wwhimpl/js/html/wwhelp.htm?href=AC81_NewHelp-31-62.html&amp;lt;/LINK_TEXT&amp;gt;&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;&lt;LINK_TEXT text="http://download.graphisoft.com/ftp/publ ... 31-62.html"&gt;http://download.graphisoft.com/ftp/publishing/ac_help/wwhelp/wwhimpl/js/html/wwhelp.htm?href=AC81_NewHelp-31-62.html&lt;/LINK_TEXT&gt;&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Tue, 23 Dec 2003 08:58:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4981#M41769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-12-23T08:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4982#M41770</link>
      <description>Actually, I think you can trim that script a tad.&lt;BR /&gt;
&lt;BR /&gt;
PUT x1, y1, 1, &lt;BR /&gt;
x2, y2, 1, &lt;BR /&gt;
x3, y3, 1, &lt;BR /&gt;
x4, y4, 1, &lt;BR /&gt;
x5, y5, -1 &lt;BR /&gt;
&lt;BR /&gt;
If NO_HOLE = 0 Then &lt;BR /&gt;
PUT x6, y6, 1, &lt;BR /&gt;
x7, y7, 1, &lt;BR /&gt;
x8, y8, 1, &lt;BR /&gt;
x9, y9, -1 &lt;BR /&gt;
EndIf&lt;BR /&gt;
&lt;BR /&gt;
PRISM_ NSP/3, prism_height, GET (NSP)</description>
      <pubDate>Wed, 24 Dec 2003 01:41:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4982#M41770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-12-24T01:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4983#M41771</link>
      <description>Alex,&lt;BR /&gt;
&lt;BR /&gt;
As I said "a rough example" to help explain how the GET / PUT works. Remember, we are not on the &lt;B&gt;GDL-Talk &lt;/B&gt;list and many GDL questions are coming from users with little to no GDL experience. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt; ... But, yes, your suggestion is a good example of how to streamline one's code.</description>
      <pubDate>Wed, 24 Dec 2003 23:05:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4983#M41771</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2003-12-24T23:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: optional hole in prism command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4984#M41772</link>
      <description>This is probably a bit late but use the new cutform comand.  It is excelent.  Draw your prism, copy the points into the cutform imbedded in an if statment, easy as.</description>
      <pubDate>Mon, 29 Dec 2003 05:06:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/optional-hole-in-prism-command/m-p/4984#M41772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-12-29T05:06:27Z</dc:date>
    </item>
  </channel>
</rss>

