<?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 Library Global Text Parameter - Uninitialized Variable in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Library-Global-Text-Parameter-Uninitialized-Variable/m-p/275651#M4471</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;&lt;PRE&gt;_reqMVO6 = 0
r6 = LIBRARYGLOBAL ("Custom Model View Options", "pos_1_mvo", p1value)
if r6 then
	if (p1value= px1) then
		pos_1 = p1
	endif

	if (p1value= px2) then
		pos_1 = p2
	endif

	if (p1value= px3) then
		pos_1 = p3
	endif
endif&lt;/PRE&gt;

So here is my bit of script for a library global command. It should work besides the fact it is picking up px1, px2 and px3 as uninitialized variables. I believe this is because they are Text type variables. How can I get this script to work?&lt;BR /&gt;
&lt;BR /&gt;
my values in my Custom Model View Options are defined as shown below:
&lt;PRE&gt;px1 = "Room Name"
px2 = "Room Number"
px3 = "Room Area"
values "pos_1_mvo" px1, px2, px3&lt;/PRE&gt;

Thanks!&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 13 Mar 2018 15:27:41 GMT</pubDate>
    <dc:creator>JGoode</dc:creator>
    <dc:date>2018-03-13T15:27:41Z</dc:date>
    <item>
      <title>Library Global Text Parameter - Uninitialized Variable</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Library-Global-Text-Parameter-Uninitialized-Variable/m-p/275651#M4471</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;&lt;PRE&gt;_reqMVO6 = 0
r6 = LIBRARYGLOBAL ("Custom Model View Options", "pos_1_mvo", p1value)
if r6 then
	if (p1value= px1) then
		pos_1 = p1
	endif

	if (p1value= px2) then
		pos_1 = p2
	endif

	if (p1value= px3) then
		pos_1 = p3
	endif
endif&lt;/PRE&gt;

So here is my bit of script for a library global command. It should work besides the fact it is picking up px1, px2 and px3 as uninitialized variables. I believe this is because they are Text type variables. How can I get this script to work?&lt;BR /&gt;
&lt;BR /&gt;
my values in my Custom Model View Options are defined as shown below:
&lt;PRE&gt;px1 = "Room Name"
px2 = "Room Number"
px3 = "Room Area"
values "pos_1_mvo" px1, px2, px3&lt;/PRE&gt;

Thanks!&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Mar 2018 15:27:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Library-Global-Text-Parameter-Uninitialized-Variable/m-p/275651#M4471</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2018-03-13T15:27:41Z</dc:date>
    </item>
  </channel>
</rss>

