<?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 Create GDL object using several GDL objects in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Create-GDL-object-using-several-GDL-objects/m-p/95655#M35323</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I'm new in GDL programming. I made different GDL objects and I need to put them together as one object. But some of them are multiplied and with different size. When I was making them as one GDL file these objects were inserted with CALL script.&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/75543i634A99971BC401ED/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Script.JPG" title="Script.JPG" /&gt;</description>
    <pubDate>Wed, 14 Dec 2005 13:05:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-12-14T13:05:55Z</dc:date>
    <item>
      <title>Create GDL object using several GDL objects</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Create-GDL-object-using-several-GDL-objects/m-p/95655#M35323</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I'm new in GDL programming. I made different GDL objects and I need to put them together as one object. But some of them are multiplied and with different size. When I was making them as one GDL file these objects were inserted with CALL script.&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/75543i634A99971BC401ED/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Script.JPG" title="Script.JPG" /&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:05:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Create-GDL-object-using-several-GDL-objects/m-p/95655#M35323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-14T13:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create GDL object using several GDL objects</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Create-GDL-object-using-several-GDL-objects/m-p/95656#M35324</link>
      <description>You can merge the objects by merging the script code (copy&amp;amp;paste) in one object or by CALLing each sub-object out of a new main object.&lt;BR /&gt;
&lt;BR /&gt;
I would prefer the second method, because you don't have to care about the environment of the other objects like double used variable names or done transformings of the coordinate system.&lt;BR /&gt;
&lt;BR /&gt;
You can do all ADD/ROT/MULs necessary in GDL to bring the origin for your existing object in the right position in space. Then make the CALL with all the settings (e.g. a=2, visible=2 etc.) after "PARAMETERS" you would do, if you place the (macro)object in the floor plan.&lt;BR /&gt;
&lt;BR /&gt;
As you have obvisiously done you can use the "save as object" option the automatically produce the main object. In this case you have to edit the resulting code to return it to be parametric (if necessary).&lt;BR /&gt;
&lt;BR /&gt;
You can do the CALLs as often as you like. You can insert it into loops too:
&lt;PRE&gt;for x =0 to 20 step 5

  addx x

  CALL "Raamja_dalja" PARAMETERS ......&amp;lt;- your settings

  del 1 

  next x&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:37:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Create-GDL-object-using-several-GDL-objects/m-p/95656#M35324</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-12-14T13:37:25Z</dc:date>
    </item>
  </channel>
</rss>

