<?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: Script Processing Sequence &amp;amp; Scale Changes:  GLOB_MO in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Processing-Sequence-amp-Scale-Changes-GLOB-MODPAR/m-p/45284#M31447</link>
    <description>&lt;BLOCKQUOTE&gt;B wrote:&lt;BR /&gt;&lt;FONT color="#480000"&gt;I have a stretchable "print area" object.  In the parameter script I use GLOB_MODPAR and PARAMETERS command to allow me to have a change in the intended print size change the A and B variables (the object's size at that drawing scale) and vice-versa.  It works pretty well.  &lt;BR /&gt;
&lt;BR /&gt;
My problem now is that if I change the drawing scale, I want the object to respond immediately to the global environment change.  My object keeps the A and B values not the intended print size when the scale changes.  To get the part to retain the intended print size values, should I move some of the code I to the master script to be processed?  Using a variable that holds the drawing scale and GLOB_MODPAR I have got it to work but it requires stimulating the object by opening the settings dialog.  Is there better way to get the object to respond to the drawing scale change?&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;

My advise is to not use "A" &amp;amp; "B" as variables.&lt;BR /&gt;
&lt;BR /&gt;
create 3 variables namely "paper_size", "print_width" &amp;amp; print_height".&lt;BR /&gt;
&lt;BR /&gt;
VALUES "paper_size" "A1", "A2", "A3",...........&lt;BR /&gt;
&lt;BR /&gt;
IF paper_size="A1" THEN&lt;BR /&gt;
print_width=.......  !!!! actual size in meter&lt;BR /&gt;
print_height=.....&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
IF paper_size="A2" THEN&lt;BR /&gt;
print_width=.......&lt;BR /&gt;
print_height=.....&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!!-------respond to the global scale-----------&lt;BR /&gt;
print_width=print_width*GLOB_SCALE  &lt;BR /&gt;
print_height=print_height*GLOB_SCALE&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
In order to make it stretchable, use dynamic hotspots.&lt;BR /&gt;
&lt;BR /&gt;
Hope this help!</description>
    <pubDate>Thu, 10 May 2007 01:20:07 GMT</pubDate>
    <dc:creator>LiHigh</dc:creator>
    <dc:date>2007-05-10T01:20:07Z</dc:date>
    <item>
      <title>Script Processing Sequence &amp; Scale Changes:  GLOB_MODPAR</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Processing-Sequence-amp-Scale-Changes-GLOB-MODPAR/m-p/45282#M31445</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;&lt;FONT color="#480000"&gt;I have a stretchable "print area" object.  In the parameter script I use GLOB_MODPAR and PARAMETERS command to allow me to have a change in the intended print size change the A and B variables (the object's size at that drawing scale) and vice-versa.  It works pretty well.  &lt;BR /&gt;
&lt;BR /&gt;
My problem now is that if I change the drawing scale, I want the object to respond immediately to the global environment change.  My object keeps the A and B values not the intended print size when the scale changes.  To get the part to retain the intended print size values, should I move some of the code I to the master script to be processed?  Using a variable that holds the drawing scale and GLOB_MODPAR I have got it to work but it requires stimulating the object by opening the settings dialog.  Is there better way to get the object to respond to the drawing scale change?&lt;/FONT&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 May 2007 19:56:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Processing-Sequence-amp-Scale-Changes-GLOB-MODPAR/m-p/45282#M31445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-08T19:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Script Processing Sequence &amp; Scale Changes:  GLOB_MO</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Processing-Sequence-amp-Scale-Changes-GLOB-MODPAR/m-p/45283#M31446</link>
      <description>Your object works in two modes, in scale the plan and independent of scale (in scale of a print)?&lt;BR /&gt;
The problem arises when you are switched from one mode to another?&lt;BR /&gt;
I correctly have understood you?</description>
      <pubDate>Wed, 09 May 2007 21:01:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Processing-Sequence-amp-Scale-Changes-GLOB-MODPAR/m-p/45283#M31446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-09T21:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Script Processing Sequence &amp; Scale Changes:  GLOB_MO</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Processing-Sequence-amp-Scale-Changes-GLOB-MODPAR/m-p/45284#M31447</link>
      <description>&lt;BLOCKQUOTE&gt;B wrote:&lt;BR /&gt;&lt;FONT color="#480000"&gt;I have a stretchable "print area" object.  In the parameter script I use GLOB_MODPAR and PARAMETERS command to allow me to have a change in the intended print size change the A and B variables (the object's size at that drawing scale) and vice-versa.  It works pretty well.  &lt;BR /&gt;
&lt;BR /&gt;
My problem now is that if I change the drawing scale, I want the object to respond immediately to the global environment change.  My object keeps the A and B values not the intended print size when the scale changes.  To get the part to retain the intended print size values, should I move some of the code I to the master script to be processed?  Using a variable that holds the drawing scale and GLOB_MODPAR I have got it to work but it requires stimulating the object by opening the settings dialog.  Is there better way to get the object to respond to the drawing scale change?&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;

My advise is to not use "A" &amp;amp; "B" as variables.&lt;BR /&gt;
&lt;BR /&gt;
create 3 variables namely "paper_size", "print_width" &amp;amp; print_height".&lt;BR /&gt;
&lt;BR /&gt;
VALUES "paper_size" "A1", "A2", "A3",...........&lt;BR /&gt;
&lt;BR /&gt;
IF paper_size="A1" THEN&lt;BR /&gt;
print_width=.......  !!!! actual size in meter&lt;BR /&gt;
print_height=.....&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
IF paper_size="A2" THEN&lt;BR /&gt;
print_width=.......&lt;BR /&gt;
print_height=.....&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!!-------respond to the global scale-----------&lt;BR /&gt;
print_width=print_width*GLOB_SCALE  &lt;BR /&gt;
print_height=print_height*GLOB_SCALE&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
In order to make it stretchable, use dynamic hotspots.&lt;BR /&gt;
&lt;BR /&gt;
Hope this help!</description>
      <pubDate>Thu, 10 May 2007 01:20:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Processing-Sequence-amp-Scale-Changes-GLOB-MODPAR/m-p/45284#M31447</guid>
      <dc:creator>LiHigh</dc:creator>
      <dc:date>2007-05-10T01:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Script Processing Sequence &amp; Scale Changes:  GLOB_MO</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Processing-Sequence-amp-Scale-Changes-GLOB-MODPAR/m-p/45285#M31448</link>
      <description>Here's the part:  &lt;A href="http://www.aomearchitects.com/misc/PrintArea.gsm" target="_blank"&gt;Print Area&lt;/A&gt;</description>
      <pubDate>Wed, 16 May 2007 17:08:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Processing-Sequence-amp-Scale-Changes-GLOB-MODPAR/m-p/45285#M31448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-16T17:08:25Z</dc:date>
    </item>
  </channel>
</rss>

