<?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: Controlling object text display through display options in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222494#M8830</link>
    <description>Thank you very much. Big help. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
    <pubDate>Thu, 08 Oct 2015 15:59:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-08T15:59:45Z</dc:date>
    <item>
      <title>Controlling object text display through display options</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222489#M8825</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I was wondering if there was a creative way to display text within an object by control of for example window and door marker through the display options?&lt;BR /&gt;
&lt;BR /&gt;
I have objects with text and would like a simple way to turn them off through display settings. e.g. when I print a review set I do not want the text to show as opposed to when I print final working drawings. &lt;BR /&gt;
&lt;BR /&gt;
Help is greatly appreciated&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 09:40:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222489#M8825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T09:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object text display through display options</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222490#M8826</link>
      <description>Sure.&lt;BR /&gt;
You can use either ...&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#ff0009"&gt;REQUEST ("window_show_dim", "", show)&lt;/FONT&gt;&lt;BR /&gt;
&lt;FONT color="#0000ff"&gt;Returns 1 in the show variable if in the Model View Options/Window options the "with Markers" is checked, 0 otherwise.&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
Or ...&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#ff0009"&gt;REQUEST ("door_show_dim", "", show)&lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;Returns 1 in the show variable if in the Model View Options/Door options the "with Markers" is checked, 0 otherwise.&lt;BR /&gt;
&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
So in your 2D script for every TEXT2 command you would need ...&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;dummy = request ("window_show_dim", " ", show)
if show = 1 then
TEXT2 .....
endif
&lt;/PRE&gt;

&lt;BR /&gt;
I have also used ...&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#ff0009"&gt;REQUEST ("floor_plan_option", "", storyViewpointType)&lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;Returns the story viewpoint type which is set in the Model View Options. 0 stands for "Floor Plan", 1 stands for "Ceiling Plan".&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
These days it can be done with Library Globals but this is a bit more involved to set up.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 08 Oct 2015 06:16:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222490#M8826</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2015-10-08T06:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object text display through display options</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222491#M8827</link>
      <description>Awesome! worked like a champ. Thank you. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
What would be a best way to write this function?&lt;BR /&gt;
dt= Display text (Check Box)&lt;BR /&gt;
I would like control the text being visible or hidden based on dt (Value)&lt;BR /&gt;
unless the  request ("window_show_dim", " ", show) is off then the text will remain hidden.&lt;BR /&gt;
Hope that makes sense?</description>
      <pubDate>Thu, 08 Oct 2015 13:39:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222491#M8827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-08T13:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object text display through display options</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222492#M8828</link>
      <description>Think I have it?&lt;BR /&gt;
&lt;BR /&gt;
Deadreq = request ("window_show_dim", " ", show) &lt;BR /&gt;
if show = 1 and dt=1 then&lt;BR /&gt;
TEXT2 txtx,txty,CABSIZE&lt;BR /&gt;
&lt;BR /&gt;
Is this correct?</description>
      <pubDate>Thu, 08 Oct 2015 14:12:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222492#M8828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-08T14:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object text display through display options</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222493#M8829</link>
      <description>Yes that would work.&lt;BR /&gt;
If both those values were "1" (on) then the text will show.&lt;BR /&gt;
If either is "0" (off) then there will be no text.&lt;BR /&gt;
&lt;BR /&gt;
The dt checkbox will control the text on an object by object basis.&lt;BR /&gt;
The MVO show window marker will control all objects with text globally.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 08 Oct 2015 15:48:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222493#M8829</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2015-10-08T15:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object text display through display options</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222494#M8830</link>
      <description>Thank you very much. Big help. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:59:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222494#M8830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-08T15:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object text display through display options</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222495#M8831</link>
      <description>Sorry to continue with another question. How do you get rid of the "Uninitialized variable" which I am guessing is the "dummy" value</description>
      <pubDate>Fri, 09 Oct 2015 19:10:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222495#M8831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-09T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object text display through display options</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222496#M8832</link>
      <description>Just add ... &lt;FONT color="#ff0009"&gt;dummy = 0&lt;/FONT&gt; ... at the beginning of the script.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 12 Oct 2015 01:32:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222496#M8832</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2015-10-12T01:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object text display through display options</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222497#M8833</link>
      <description>Yes, Thanks again. It is weird the check code works now, I run it and it reports no errors run it again and reports multiple errors. It acts as if it cannot check get statement properly or any function outside the object script itself. Any how you have been a big help, Thanks.</description>
      <pubDate>Tue, 13 Oct 2015 13:20:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Controlling-object-text-display-through-display-options/m-p/222497#M8833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T13:20:08Z</dc:date>
    </item>
  </channel>
</rss>

