<?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: Swap parameters in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Swap-parameters/m-p/187688#M12039</link>
    <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I do not know if this serves....depends on&lt;BR /&gt;
how you want it work;&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!--master or value script
if param_or= 'Landscape' then
   xx= a
   yy= b
endif
if param_or= 'Portrait' then
   xx= b
   yy= a
endif

parameters param_wd=xx, param_ht=yy

&lt;/PRE&gt;</description>
    <pubDate>Tue, 15 Jul 2014 19:11:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-15T19:11:16Z</dc:date>
    <item>
      <title>Swap parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Swap-parameters/m-p/187687#M12038</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I am creating an object that has a portrait/landscape parameter. When one of these is selected, the corresponding width and height should also change accordingly. Any idea how to do this?&lt;BR /&gt;
&lt;BR /&gt;
I am using the basic swap:&lt;PRE&gt;IF GLOB_MODPAR_NAME = 'param_or' THEN
  tmp = param_wd
  PARAMETERS param_wd = param_ht
  PARAMETERS param_ht = tmp
ENDIF&lt;/PRE&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Jul 2014 06:48:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Swap-parameters/m-p/187687#M12038</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2014-07-10T06:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Swap parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Swap-parameters/m-p/187688#M12039</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I do not know if this serves....depends on&lt;BR /&gt;
how you want it work;&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!--master or value script
if param_or= 'Landscape' then
   xx= a
   yy= b
endif
if param_or= 'Portrait' then
   xx= b
   yy= a
endif

parameters param_wd=xx, param_ht=yy

&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jul 2014 19:11:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Swap-parameters/m-p/187688#M12039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-15T19:11:16Z</dc:date>
    </item>
  </channel>
</rss>

