<?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: Let the code to modify some parameters in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62723#M36035</link>
    <description>In your object's Master script   &lt;BR /&gt;
    &lt;BR /&gt;
l_pann=0.978   &lt;BR /&gt;
num_pann=CEIL(A)   &lt;BR /&gt;
! -- new value named "n_panels" - integer type - --&lt;BR /&gt;
PARAMETERS n_panels = num_pann  &lt;BR /&gt;
  &lt;BR /&gt;
&lt;BR /&gt;
Interactive schedules (abaco interattivo ITA) use : " Additional values " (Parametri addizionali ITA)   =  n_panels (inside) in your object.  &lt;BR /&gt;
  &lt;BR /&gt;
below an example .&lt;BR /&gt;
&lt;BR /&gt;
CU mirco&lt;BR /&gt;
&lt;A href="http://www.3dsmile.it" target="_blank"&gt;www.3dsmile.it&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
PS Sorry but I don't have a lot of time to explain</description>
    <pubDate>Tue, 18 Oct 2005 12:44:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-10-18T12:44:20Z</dc:date>
    <item>
      <title>Let the code to modify some parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62719#M36031</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
how is it possible to modify the parameters from the code?&lt;BR /&gt;
&lt;BR /&gt;
For example:&lt;BR /&gt;
&lt;BR /&gt;
I have an integer parameter called "cmp_num_pann".&lt;BR /&gt;
&lt;BR /&gt;
Into the code I've:&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;MATERIAL mat_pan
PEN penna

l_pann=0.978
num_pann=CEIL(A)

!PRINT num_pann
FOR k=1 TO num_pann
	PRISM_             89,            ZZYZX,
			0.292171901647, 
............................. .............. ..........................,

0.004419152401375,     15,
			0.3417754728342, -0.004419152401375,     15,
			0.3417754728342, 0.0003987855887901,     15,
			0.292171901647, 0.0003987855887901,     -1
	ADDx l_pann
NEXT k
DEL num_pann
&lt;/PRE&gt;

I would like to have "cmp_num_pann"=num_pann so into the dialog I can see num_pann value.&lt;BR /&gt;
I know the GLOB_MODPAR_NAME  command but it does not work in this situation.&lt;BR /&gt;
&lt;BR /&gt;
Could you help me, please?&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
Marco&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Oct 2005 16:21:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62719#M36031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-13T16:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Let the code to modify some parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62720#M36032</link>
      <description>Marco,&lt;BR /&gt;
I am unclear about what you want to do. &lt;BR /&gt;
If you want to modify a parameter value in the parameter list you can&lt;BR /&gt;
do so using the PARAMETERS command in the Parameters Script.&lt;BR /&gt;
Find the description of this command in the GDL manual.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 13 Oct 2005 17:34:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62720#M36032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-13T17:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Let the code to modify some parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62721#M36033</link>
      <description>hi, &lt;BR /&gt;
&lt;BR /&gt;
If I understand your problem right, you want to change a parameter value in the user interface from 3d skript. &lt;BR /&gt;
this will not work fine, because of the order of working on the skripts inside archicad&lt;BR /&gt;
the parameters command can be used in parameters skript or in the master script. you should make sure to change and define the parameter first and afterwards to use it in 3d / 2d / master skript &lt;BR /&gt;
&lt;BR /&gt;
best regards, g</description>
      <pubDate>Fri, 14 Oct 2005 06:59:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62721#M36033</guid>
      <dc:creator>gerd</dc:creator>
      <dc:date>2005-10-14T06:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Let the code to modify some parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62722#M36034</link>
      <description>Right gerd... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
So it's complex to do... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_cry.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
It's a sin!!!&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
Marco</description>
      <pubDate>Fri, 14 Oct 2005 08:45:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62722#M36034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-14T08:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Let the code to modify some parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62723#M36035</link>
      <description>In your object's Master script   &lt;BR /&gt;
    &lt;BR /&gt;
l_pann=0.978   &lt;BR /&gt;
num_pann=CEIL(A)   &lt;BR /&gt;
! -- new value named "n_panels" - integer type - --&lt;BR /&gt;
PARAMETERS n_panels = num_pann  &lt;BR /&gt;
  &lt;BR /&gt;
&lt;BR /&gt;
Interactive schedules (abaco interattivo ITA) use : " Additional values " (Parametri addizionali ITA)   =  n_panels (inside) in your object.  &lt;BR /&gt;
  &lt;BR /&gt;
below an example .&lt;BR /&gt;
&lt;BR /&gt;
CU mirco&lt;BR /&gt;
&lt;A href="http://www.3dsmile.it" target="_blank"&gt;www.3dsmile.it&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
PS Sorry but I don't have a lot of time to explain</description>
      <pubDate>Tue, 18 Oct 2005 12:44:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62723#M36035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-18T12:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Let the code to modify some parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62724#M36036</link>
      <description>Mirco,&lt;BR /&gt;
&lt;BR /&gt;
thank you very much for your precious help... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
This way to calculate is very interesting and, with this simple but clear example, I'm sure to resolve my problem and Claudio's one!!!&lt;BR /&gt;
&lt;BR /&gt;
Very clear Mirco... for the fourth time, thank you very very much!&lt;BR /&gt;
&lt;BR /&gt;
By the way, I forgot: is it possible to open .iss files using a text editor? It seems a binary file... I wrote text editor, but can Archicad open .iss with an internal editor?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
PWD</description>
      <pubDate>Tue, 18 Oct 2005 13:30:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Let-the-code-to-modify-some-parameters/m-p/62724#M36036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-18T13:30:59Z</dc:date>
    </item>
  </channel>
</rss>

