<?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: Change tree species without changing size of tree in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Change-tree-species-without-changing-size-of-tree/m-p/220775#M5278</link>
    <description>If you want to change all the trees so the match, it can be done in a schedule.&lt;BR /&gt;
&lt;BR /&gt;
If you choose the drop down from "Add Fields" add a "Library Parts Parameter", and browse from&lt;BR /&gt;
Archicad library 21/Object Library 21.lcf/Object Library 21/ 2.Visualization 21/ 2.2 Site Improvments 21/ Garden 21/ Deciduous Trees 21.gsm&lt;BR /&gt;
choose &lt;BR /&gt;
iTreeType &lt;BR /&gt;
(that is where it is in the AUS Library)&lt;BR /&gt;
This will give you the different tree types to choose from&lt;BR /&gt;
&lt;BR /&gt;
You can merge identical in the schedule so you get all the identical trees &lt;BR /&gt;
(as long as you don't have the "Element ID" or" Hotlink and Element ID" in the schedule)&lt;BR /&gt;
&lt;BR /&gt;
This would speed up changing of trees without editing the library parts.</description>
    <pubDate>Wed, 16 Aug 2017 04:26:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-16T04:26:24Z</dc:date>
    <item>
      <title>Change tree species without changing size of tree</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-tree-species-without-changing-size-of-tree/m-p/220772#M5275</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I can't find any way to change tree species while keeping the current spread and height of the tree, other than writing down the current spread and height and then resetting them from the standard values after changing the species.  I would like to change the 3d appearance of 350 trees of varying sizes at the same time, but have concluded it can't be done.  I have to do them one at a time.&lt;BR /&gt;
&lt;BR /&gt;
I was hoping the new element transfer settings would allow this, but no luck.  I can retain the element ID and layer settings, and the elevation of the bottom of the tree, but the other tree dimensions are changed when I choose a different library part for the tree.&lt;BR /&gt;
&lt;BR /&gt;
I'm not looking forward to changing 350 trees one tree at a time.  Is there a way to do this more efficiently?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Aug 2017 23:22:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-tree-species-without-changing-size-of-tree/m-p/220772#M5275</guid>
      <dc:creator>R Muller</dc:creator>
      <dc:date>2017-08-15T23:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change tree species without changing size of tree</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-tree-species-without-changing-size-of-tree/m-p/220773#M5276</link>
      <description>If you are using a library part like Deciduous Trees 21 then no...its a feature of the code.&lt;BR /&gt;
&lt;BR /&gt;
The coding says when the type of tree is changed, then read the default values from a table...and apply them to A(Width), B(Length), ZZYZX(Height)&lt;BR /&gt;
&lt;BR /&gt;
If you want to edit the library part to stop this, all you need to do is to override the default table with the current A(Width), B(Length), ZZYZX(Height) values.&lt;BR /&gt;
&lt;BR /&gt;
The Default values are stored in an array DefSizeValues&lt;BR /&gt;
&lt;BR /&gt;
As a test I made a parameter &lt;BR /&gt;
Auto_Change_Tree_Size (Boolean)&lt;BR /&gt;
&lt;BR /&gt;
In the Master Script I added&lt;BR /&gt;
&lt;BR /&gt;
if Auto_Change_Tree_Size = 0 then&lt;BR /&gt;
DefSizeValues[1][1] = A&lt;BR /&gt;
DefSizeValues[2][1] = A&lt;BR /&gt;
DefSizeValues[3][1] = A&lt;BR /&gt;
DefSizeValues[4][1] = A&lt;BR /&gt;
DefSizeValues[5][1] = A&lt;BR /&gt;
DefSizeValues[1][2] = B&lt;BR /&gt;
DefSizeValues[2][2] = B&lt;BR /&gt;
DefSizeValues[3][2] = B&lt;BR /&gt;
DefSizeValues[4][2] = B&lt;BR /&gt;
DefSizeValues[5][2] = B&lt;BR /&gt;
DefSizeValues[1][3] = ZZYZX&lt;BR /&gt;
DefSizeValues[2][3] = ZZYZX&lt;BR /&gt;
DefSizeValues[3][3] = ZZYZX&lt;BR /&gt;
DefSizeValues[4][3] = ZZYZX&lt;BR /&gt;
DefSizeValues[5][3] = ZZYZX&lt;BR /&gt;
DefSizeValues[1][4] = A&lt;BR /&gt;
DefSizeValues[2][4] = A&lt;BR /&gt;
DefSizeValues[3][4] = A&lt;BR /&gt;
DefSizeValues[4][4] = A&lt;BR /&gt;
DefSizeValues[5][4] = A&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
Then saved it as a new library part.&lt;BR /&gt;
&lt;BR /&gt;
This will work for: &lt;BR /&gt;
Deciduous Trees 21&lt;BR /&gt;
Evergreens 21&lt;BR /&gt;
Houseplants 21&lt;BR /&gt;
Palm Trees 21&lt;BR /&gt;
Pine Trees 21&lt;BR /&gt;
Shrubs 21&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
In Tree model detailed 21:&lt;BR /&gt;
if Auto_Change_Tree_Size = 0 then&lt;BR /&gt;
for i_loop = 1 to 10&lt;BR /&gt;
sizeDefaultA[i_loop] = A&lt;BR /&gt;
sizeDefaultB[i_loop] =B&lt;BR /&gt;
sizeDefaultZzyzx[i_loop] = ZZYZX&lt;BR /&gt;
next i_loop&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
(using a loop for the values)&lt;BR /&gt;
&lt;BR /&gt;
The other trees in the Archicad 21 library it is coded in the parameter script directly, no neat arrays to control.&lt;BR /&gt;
&lt;BR /&gt;
If you want to create your own library parts, or edit the Archicad 21 library, it is a little bit of work, but potentially better for you in the long run if this is a common problem.&lt;BR /&gt;
&lt;BR /&gt;
There is no work around to fix this...</description>
      <pubDate>Wed, 16 Aug 2017 00:31:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-tree-species-without-changing-size-of-tree/m-p/220773#M5276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-16T00:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change tree species without changing size of tree</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-tree-species-without-changing-size-of-tree/m-p/220774#M5277</link>
      <description>Allan-&lt;BR /&gt;
&lt;BR /&gt;
Thank you for this.  It actually looks doable, even for someone like me who avoids GDL.  I will definitely give it a try.  I am using the AC21 trees, so it should work.&lt;BR /&gt;
&lt;BR /&gt;
I also thought of creating an interactive schedule of all the trees, and modifying them from the schedule.  Do you think this could work?</description>
      <pubDate>Wed, 16 Aug 2017 03:54:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-tree-species-without-changing-size-of-tree/m-p/220774#M5277</guid>
      <dc:creator>R Muller</dc:creator>
      <dc:date>2017-08-16T03:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change tree species without changing size of tree</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-tree-species-without-changing-size-of-tree/m-p/220775#M5278</link>
      <description>If you want to change all the trees so the match, it can be done in a schedule.&lt;BR /&gt;
&lt;BR /&gt;
If you choose the drop down from "Add Fields" add a "Library Parts Parameter", and browse from&lt;BR /&gt;
Archicad library 21/Object Library 21.lcf/Object Library 21/ 2.Visualization 21/ 2.2 Site Improvments 21/ Garden 21/ Deciduous Trees 21.gsm&lt;BR /&gt;
choose &lt;BR /&gt;
iTreeType &lt;BR /&gt;
(that is where it is in the AUS Library)&lt;BR /&gt;
This will give you the different tree types to choose from&lt;BR /&gt;
&lt;BR /&gt;
You can merge identical in the schedule so you get all the identical trees &lt;BR /&gt;
(as long as you don't have the "Element ID" or" Hotlink and Element ID" in the schedule)&lt;BR /&gt;
&lt;BR /&gt;
This would speed up changing of trees without editing the library parts.</description>
      <pubDate>Wed, 16 Aug 2017 04:26:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-tree-species-without-changing-size-of-tree/m-p/220775#M5278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-16T04:26:24Z</dc:date>
    </item>
  </channel>
</rss>

