GDL
About building parametric objects with GDL.

Object 2D with Library Part Maker

davide
Newcomer
I made a 2d object with Library Part Maker (AC24) I would like to be able to zoom in or out, what do I need to change in the GDL lines of text to be able to do this? thanks
iMac i7 late 2009
10.13.6
Archicad 24
7 REPLIES 7
Laszlo Nagy
Community Admin
Community Admin
When you say that you "would like to be able to zoom in or out", what do you mean by that?
Do you want your text to be scale-sensitive?
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
davide
Newcomer
I mean the ability to change the size of the 2D object, to be able to resize. thanks.
iMac i7 late 2009
10.13.6
Archicad 24
Anonymous
Not applicable
A two-dimensional (2D) object is an object that only has two dimensions, such as a length and a width, and no thickness or height get-vidmateapp.com get-mobdroapk.com
davide
Newcomer
Yes , it's a 2D object (x;y)
iMac i7 late 2009
10.13.6
Archicad 24
Lingwisyer
Guru
If you open the object and go to the 2D script, you could add the following to the start;

MUL2 A / [original width], B / [original height]



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 
davide
Newcomer
thanks. davide
iMac i7 late 2009
10.13.6
Archicad 24
Lingwisyer
Guru
davide wrote:
thanks. davide

That is if you want to be able to resize height and width independently. Some extra things are required if you want it to be uniform based on what the user inputs into the height and width.



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660