We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2019-09-10 03:39 AM - last edited on 2023-05-24 09:54 AM by Rubia Torres
2019-09-10 07:48 AM
ADD2 -0, -0Is the one that will move the lines created by the following code.
DEL 1to undo the move ready for the next bit of code.
2019-09-10 10:07 AM
2019-09-10 10:49 AM
Studioverde wrote:Sure - but you say you are new to this GDL scripting.
Is there any code I can add to manipulate the level of detail using the "model view options" instead?
the availability of the LPM add-on might wary depending on your country. Contacting your local support might be the best choice hereSo contact your local distributor and see what they say.
2019-09-10 11:15 AM
2019-09-24 12:51 AM
2019-09-24 03:25 AM
VALUES "A" RANGE [0.001, 5.000]
LINE2 0,0,A,0To change all of the lines of code so they are relative to the width (A) would be rather tedious.
MUL2 A/2.400, 1Then you have the code to draw the window frame
2019-09-24 03:28 AM
Studioverde wrote:The 2D and 3D are seperate things. You will need to copy the code from the 3D script as well.
extracting the code for each and plugging it in to the 2d script of the window.
Studioverde wrote:You should read up the Parameters section of the GDL Reference Guide. This statement of yours will just prevent you from doing anything after changing the value of A. What you are wanting is:
IF A => 5000 (IF STATEMENT)
THEN LOCK A
IF A => 5000 then PARAMETERS A = 5000Edit: though doing as Barry has suggested using
mul2 A / 8.00000, B / 0.457522to
mul2 A / 8.00000, 1
mulx A / 8.00000 muly B / 0.457522to
mulx A / 8.00000 muly 1
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2019-09-24 06:36 AM
2019-09-24 06:56 AM
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |