<?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 stretch in increments in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51649#M41120</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Is it possible to have an object stretch (snapping to ) by an increment of &lt;BR /&gt;
say 8" ?&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 16 May 2004 15:48:50 GMT</pubDate>
    <dc:creator>RandyC</dc:creator>
    <dc:date>2004-05-16T15:48:50Z</dc:date>
    <item>
      <title>stretch in increments</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51649#M41120</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Is it possible to have an object stretch (snapping to ) by an increment of &lt;BR /&gt;
say 8" ?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 16 May 2004 15:48:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51649#M41120</guid>
      <dc:creator>RandyC</dc:creator>
      <dc:date>2004-05-16T15:48:50Z</dc:date>
    </item>
    <item>
      <title>snapping to increments</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51650#M41121</link>
      <description>To clarify , I would like the Hotspots to snap to increments as the object is stretched.</description>
      <pubDate>Sun, 16 May 2004 15:52:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51650#M41121</guid>
      <dc:creator>RandyC</dc:creator>
      <dc:date>2004-05-16T15:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: stretch in increments</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51651#M41122</link>
      <description>&lt;BLOCKQUOTE&gt;RandyC wrote:&lt;BR /&gt;Is it possible to have an object stretch (snapping to ) by an increment of &lt;BR /&gt;
say 8" ?&lt;/BLOCKQUOTE&gt;

May be this solution&lt;BR /&gt;
&lt;BR /&gt;
Parameter script:&lt;BR /&gt;
&lt;BR /&gt;
cellSize=8"&lt;BR /&gt;
VALUES "A" RANGE [cellSize, ] STEP cellSize, cellSize&lt;BR /&gt;
VALUES "B" RANGE [cellSize, ] STEP cellSize, cellSize</description>
      <pubDate>Sun, 16 May 2004 16:37:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51651#M41122</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2004-05-16T16:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: stretch in increments</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51652#M41123</link>
      <description>The RANGE function definitely works. I have used it myself and it is VERY cool. I don't remember the exact syntax, but if anyone has more questions I'll look into it.</description>
      <pubDate>Sun, 16 May 2004 16:49:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51652#M41123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-05-16T16:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: stretch in increments</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51653#M41124</link>
      <description>THANKS , OLEG &amp;amp; MATTHEW  the range function did the trick !&lt;BR /&gt;
&lt;BR /&gt;
                     Randy Clarkston&lt;BR /&gt;
                      WestCoast Design</description>
      <pubDate>Mon, 17 May 2004 00:03:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51653#M41124</guid>
      <dc:creator>RandyC</dc:creator>
      <dc:date>2004-05-17T00:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: stretch in increments</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51654#M41125</link>
      <description>Apologies if this is obvious,&lt;BR /&gt;
&lt;BR /&gt;
You can also code explicit values for A, B, &amp;amp; ZZYZX for things (equipment, furniture?) that only come in certain sizes, aren't indefinitely extensive, and/or don't change size on a consistent interval. E.g.,&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!bed widths
VALUES 'A' 39", !twin
			54", !Full
			60", !Queen
			76" !King
&lt;/PRE&gt;

You can also bind values in different lists together using GLOB_MODPAR_NAME.&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!water heater dimensions
!gallon size
VALUES 'galq'	30,		50,		75,		100,	120
!diameter
VALUES 'A' 	22", 	24", 	26", 	28", 	30"
!height
VALUES 'ZZYZX' 48",	60",			74",	76"

IF GLOB_MODPAR_NAME='galq' THEN
	IF galq=30 THEN
		PARAMETERS A=22"
		PARAMETERS ZZYZX=48"
	ENDIF
	IF galq=50 THEN....


IF GLOB_MODPAR_NAME='A' THEN
	IF A=22" THEN
		PARAMETERS galq=30
		PARAMETERS ZZYZX=48"
	ENDIF
	IF A=24" THEN...

&lt;/PRE&gt;

So the user can choose the size from the list or stretch the diameter and the related parameters update.</description>
      <pubDate>Mon, 17 May 2004 14:10:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51654#M41125</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2004-05-17T14:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: stretch in increments</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51655#M41126</link>
      <description>&lt;BLOCKQUOTE&gt;James wrote:&lt;BR /&gt;
You can also bind values in different lists together using GLOB_MODPAR_NAME.
&lt;/BLOCKQUOTE&gt;

Is it possible to combine the GLOB_MODPAR_NAME with a VALUES statement in the IF THEN test ?</description>
      <pubDate>Mon, 17 May 2004 15:48:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51655#M41126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-05-17T15:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: stretch in increments</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51656#M41127</link>
      <description>&lt;BLOCKQUOTE&gt;Geoffroy wrote:&lt;BR /&gt;Is it possible to combine the GLOB_MODPAR_NAME with a VALUES statement in the IF THEN test ?&lt;/BLOCKQUOTE&gt;

Conditional VALUES lists are OK in general, in my experience. I put all lists in the Master Script, it's more consistent than the Parameter Script.&lt;BR /&gt;
&lt;BR /&gt;
Do you mean,
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;IF GLOB_MODPAR_NAME='name1' THEN VALUES 'A' 1',2',3'
IF GLOB_MODPAR_NAME='name2' THEN VALUES 'A' 4',5',6'
&lt;/PRE&gt;

It seems to work; I've never done it in practice. There can't be a VALUES statement for the parameter that's NOT part of a conditional. IE, don't do this:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;VALUES 'A' 7',8',9'

IF GLOB_MODPAR_NAME='name1' THEN VALUES 'A' 1',2',3'
IF GLOB_MODPAR_NAME='name2' THEN VALUES 'A' 4',5',6'
&lt;/PRE&gt;

Then there's two lists for the same parameter, which, not surprisingly, gives unpredictable results.&lt;BR /&gt;
&lt;BR /&gt;
One more thing: Parameter updating seems to get unreliable when stretching vertically in 3D. This works fine in the settings box:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;IF GLOB_MODPAR_NAME='ZZYZX' THEN
	IF ZZYZX=1' THEN PARAMETERS modelname='Short'
	IF ZZYZX=3' THEN PARAMETERS modelname='Tall'
ENDIF
&lt;/PRE&gt;

...but can't relied on in 3D.</description>
      <pubDate>Mon, 17 May 2004 18:18:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/stretch-in-increments/m-p/51656#M41127</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2004-05-17T18:18:05Z</dc:date>
    </item>
  </channel>
</rss>

