<?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: Resizing 2D objects from library par maker in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/585748#M6245</link>
    <description>&lt;P&gt;Oh yes, my bad, I attached the wrong tree, here is the good one! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Actually, the solution I found was to save the Library part maker object as an object a second time, but it means that I have to keep the library part maker object as a source file, which mean having 2 time more object in my library, and I don't want that haha!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I found the begining of a solution : in the tree you posted in your first answer, I found in the 2D script these lines :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2024-01-29 à 09.59.45.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52519i988992C1443C2854/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2024-01-29 à 09.59.45.png" alt="Capture d’écran 2024-01-29 à 09.59.45.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I copied and pasted them in the beginning of the 2D script of my tree, replaced this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!these values are coped and pasted from the original A and B in parameters script, they should match the size of the object when not stretched.
mul2 A/3.003683, B/4.402504&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;by this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!these values are coped and pasted from the original A and B in parameters script, they should match the size of the object when not stretched.
mul2 A/6.046339, B/1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and it created a tree with 4 size points but they are at the wrong place and I cannot modify the size :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2024-01-29 à 10.15.28.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52521i4755B65F9278C3D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2024-01-29 à 10.15.28.png" alt="Capture d’écran 2024-01-29 à 10.15.28.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I suppose that these lines are the good one, but I don't know which values I should change to place the size points at the right place!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank a lot for your help anyway!&lt;/P&gt;</description>
    <pubDate>Sun, 04 Feb 2024 09:47:02 GMT</pubDate>
    <dc:creator>Pablo68650</dc:creator>
    <dc:date>2024-02-04T09:47:02Z</dc:date>
    <item>
      <title>Resizing 2D objects from library par maker</title>
      <link>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/584493#M6207</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recently draw few 2D plan trees with the library part maker (Archicad 26), witch is an amazing tool. I know there is other ways to create 2D object, but I wanted to get trees that can be simplified depending on the scale and the precision of the project (schematic, low and full resolution).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once I created the trees, I realized that I couldn't modify the 2d dimensions of it, witch is quite embarrassing. Could somebody help me to fix this problem with or without the GDL skills? &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2024-01-18 à 12.34.52.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52223i589DB9DA648BD4ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2024-01-18 à 12.34.52.png" alt="Capture d’écran 2024-01-18 à 12.34.52.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2024-01-18 à 12.38.08.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52224iEC42B6715E39424F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2024-01-18 à 12.38.08.png" alt="Capture d’écran 2024-01-18 à 12.38.08.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:54:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/584493#M6207</guid>
      <dc:creator>Pablo68650</dc:creator>
      <dc:date>2024-09-26T11:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing 2D objects from library par maker</title>
      <link>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/584603#M6209</link>
      <description>&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I havent used the library part maker but can do in 2d script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depends a bit how the script is setup, happy to look at one for you if you post it here. Or a simplified version is ok too. Else attached is a simple example to review, have a look at 2d script.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 01:16:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/584603#M6209</guid>
      <dc:creator>easyDoesIt</dc:creator>
      <dc:date>2024-01-19T01:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing 2D objects from library par maker</title>
      <link>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/584878#M6212</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the answer, indeed it supposed to be solved with the 2D script, but as I sayed, I don't have any skills with the script! so here is my tree .gsm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 09:00:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/584878#M6212</guid>
      <dc:creator>Pablo68650</dc:creator>
      <dc:date>2024-01-22T09:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing 2D objects from library par maker</title>
      <link>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/585384#M6238</link>
      <description>&lt;P&gt;Hi Pablo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe someone on the forum with knowledge of the library part maker will solve this easier, there must be a way to do it without scripting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The part you sent me also calls a second library part called "&lt;SPAN&gt;SRC Arbre 2" so I cant test it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Anyway try this. Change this line in the 2d script&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;call    "SRC Arbre 2",
    PARAMETERS A =     6.046339, B =            1, gs_list_cost =            0,&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;with this&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;call    "SRC Arbre 2",
    PARAMETERS A =     A, B =            B, gs_list_cost =            0,&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it should stretch what i assume is the tree object to the size of A &amp;amp; B.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2024 09:46:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/585384#M6238</guid>
      <dc:creator>easyDoesIt</dc:creator>
      <dc:date>2024-02-04T09:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing 2D objects from library par maker</title>
      <link>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/585748#M6245</link>
      <description>&lt;P&gt;Oh yes, my bad, I attached the wrong tree, here is the good one! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Actually, the solution I found was to save the Library part maker object as an object a second time, but it means that I have to keep the library part maker object as a source file, which mean having 2 time more object in my library, and I don't want that haha!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I found the begining of a solution : in the tree you posted in your first answer, I found in the 2D script these lines :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2024-01-29 à 09.59.45.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52519i988992C1443C2854/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2024-01-29 à 09.59.45.png" alt="Capture d’écran 2024-01-29 à 09.59.45.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I copied and pasted them in the beginning of the 2D script of my tree, replaced this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!these values are coped and pasted from the original A and B in parameters script, they should match the size of the object when not stretched.
mul2 A/3.003683, B/4.402504&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;by this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!these values are coped and pasted from the original A and B in parameters script, they should match the size of the object when not stretched.
mul2 A/6.046339, B/1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and it created a tree with 4 size points but they are at the wrong place and I cannot modify the size :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2024-01-29 à 10.15.28.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52521i4755B65F9278C3D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2024-01-29 à 10.15.28.png" alt="Capture d’écran 2024-01-29 à 10.15.28.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I suppose that these lines are the good one, but I don't know which values I should change to place the size points at the right place!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank a lot for your help anyway!&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2024 09:47:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/585748#M6245</guid>
      <dc:creator>Pablo68650</dc:creator>
      <dc:date>2024-02-04T09:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing 2D objects from library par maker</title>
      <link>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/585755#M6246</link>
      <description />
      <pubDate>Mon, 29 Jan 2024 09:44:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Resizing-2D-objects-from-library-par-maker/m-p/585755#M6246</guid>
      <dc:creator>Pablo68650</dc:creator>
      <dc:date>2024-01-29T09:44:11Z</dc:date>
    </item>
  </channel>
</rss>

