We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-01-18 12:39 PM - last edited on 2024-09-26 01:54 PM by Doreena Deng
Hi everyone,
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).
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?
2024-01-19 02:16 AM
Hi Pablo,
I havent used the library part maker but can do in 2d script.
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.
2024-01-22 10:00 AM
2024-01-25 02:56 AM - last edited on 2024-02-04 10:46 AM by Laszlo Nagy
Hi Pablo,
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.
The part you sent me also calls a second library part called "SRC Arbre 2" so I cant test it.
call "SRC Arbre 2",
PARAMETERS A = 6.046339, B = 1, gs_list_cost = 0,
call "SRC Arbre 2",
PARAMETERS A = A, B = B, gs_list_cost = 0,
it should stretch what i assume is the tree object to the size of A & B.
2024-01-29 10:26 AM - last edited on 2024-02-04 10:47 AM by Laszlo Nagy
Oh yes, my bad, I attached the wrong tree, here is the good one! 😅
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!
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 :
So I copied and pasted them in the beginning of the 2D script of my tree, replaced this :
!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
by this :
!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
and it created a tree with 4 size points but they are at the wrong place and I cannot modify the size :
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!
Thank a lot for your help anyway!
2024-01-29 10:44 AM