<?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: Floor sensitive 2D projection? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Floor-sensitive-2D-projection/m-p/192553#M15251</link>
    <description>This will need to be scripted. You can use something like the following for the options you chose to display:&lt;BR /&gt;

&lt;PRE&gt;if GLOB_CH_STORY_DIST = 0 then
   'do something'  !! Home story
ENDIF


if GLOB_CH_STORY_DIST = 1 then
   'do something else'  !! One story up
ENDIF


if GLOB_CH_STORY_DIST = -1 then
   'do something else again'  !! One story down
ENDIF&lt;/PRE&gt;</description>
    <pubDate>Thu, 13 Sep 2012 01:08:44 GMT</pubDate>
    <dc:creator>Erich</dc:creator>
    <dc:date>2012-09-13T01:08:44Z</dc:date>
    <item>
      <title>Floor sensitive 2D projection?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Floor-sensitive-2D-projection/m-p/192551#M15249</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have a simple parametric handrail object that was hand-coded in GDL.&lt;BR /&gt;
Its 2D representation is based on 2D projection method.&lt;BR /&gt;
&lt;BR /&gt;
I have no idea how to show only the lower part on the home floor while cutting the top, and vice versa: Show only the top part on the floor above. Doesn't have to be fancy, just an open end is fine.&lt;BR /&gt;
&lt;BR /&gt;
Could you please advise? I have used some global context variables before but I don't know how to approach this.&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/75568iBB3A82CFA67C513E/image-size/large?v=v2&amp;amp;px=999" border="0" alt="PastedGraphic-1.png" title="PastedGraphic-1.png" /&gt;</description>
      <pubDate>Wed, 12 Sep 2012 21:04:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Floor-sensitive-2D-projection/m-p/192551#M15249</guid>
      <dc:creator>matjashka</dc:creator>
      <dc:date>2012-09-12T21:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Floor sensitive 2D projection?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Floor-sensitive-2D-projection/m-p/192552#M15250</link>
      <description>I was thinking about something like in the scheme below.&lt;BR /&gt;
&lt;BR /&gt;
I could maybe tie the cut plane position to an editable hotspot and drag it where I want. But then I'm not sure how to make the cut planes effective only for the 2D projection of the object. In 3D, the whole object should be visible at all times.&lt;BR /&gt;
&lt;BR /&gt;
(note: this is just to illustrate the GDL object content, not that I want the actual cut plane in 3D)</description>
      <pubDate>Wed, 12 Sep 2012 21:40:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Floor-sensitive-2D-projection/m-p/192552#M15250</guid>
      <dc:creator>matjashka</dc:creator>
      <dc:date>2012-09-12T21:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Floor sensitive 2D projection?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Floor-sensitive-2D-projection/m-p/192553#M15251</link>
      <description>This will need to be scripted. You can use something like the following for the options you chose to display:&lt;BR /&gt;

&lt;PRE&gt;if GLOB_CH_STORY_DIST = 0 then
   'do something'  !! Home story
ENDIF


if GLOB_CH_STORY_DIST = 1 then
   'do something else'  !! One story up
ENDIF


if GLOB_CH_STORY_DIST = -1 then
   'do something else again'  !! One story down
ENDIF&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Sep 2012 01:08:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Floor-sensitive-2D-projection/m-p/192553#M15251</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2012-09-13T01:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Floor sensitive 2D projection?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Floor-sensitive-2D-projection/m-p/192554#M15252</link>
      <description>Thanks Erich,&lt;BR /&gt;
&lt;BR /&gt;
That's what I wanted. Works great.&lt;BR /&gt;
&lt;BR /&gt;
I also included a GLOB_CONTEXT check in 3D script, so that the cut plane results are only effective in plan view.&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much!</description>
      <pubDate>Thu, 13 Sep 2012 20:33:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Floor-sensitive-2D-projection/m-p/192554#M15252</guid>
      <dc:creator>matjashka</dc:creator>
      <dc:date>2012-09-13T20:33:22Z</dc:date>
    </item>
  </channel>
</rss>

