We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-08-29 05:19 PM - last edited on 2023-05-25 08:45 AM by Noemi Balogh
2021-08-30 03:14 AM
for k = 1 to vardim1(nodes_x) put _nodes_x"MATWallReveal" in this example is a variable determined by either the external and internal wall surfaces or by a custom setting when the user opts to turn the custom setting on., _nodes_y , 31 !1+4+8+16, MATWallReveal next k material MATWallReveal wallniche nsp/3, 1, 2+16, 0,0,1, 0, get(nsp)
if bCustRevealMat then MATWallReveal = _iSurfaces[5][1] MATWallOpposite = _iSurfaces[6][1] else if WIDO_REVEAL_SIDE then if elTYPE = 1 then MATWallReveal = WALL_MAT_A if elTYPE = 1 then MATWallOpposite = WALL_MAT_B else if elTYPE = 1 then MATWallReveal = WALL_MAT_B if elTYPE = 1 then MATWallOpposite = WALL_MAT_A endif endifso simple... once you know.
2021-08-30 03:56 AM
m1=1 !!the polygon will create a visible edge upon entry into the body being cut m2=1 !!depth - the lengthwise edge of the cutting form will be visible m3=1 !!the polygon will create a visible edge upon exiting the body being cut m4=1 !!outside - the bottom edge of the cutting form will be visible m5=1 !!inside - the top edge of the cutting form will be visible m7=0 !!controls the viewpoint dependent visibility of the lengthwise edge MATERIAL rear_mat WALLNICHE 4, 1, 1*0 + 2*0 + 8*0 + 16*1 + 32*0 + 64*0 + 128*0 + 256*1, 0, 0, 1, 0, -(a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,bot_edge_mat, (a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,left_edge_mat, (a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,top_edge_mat, (-a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7,Right_edge_matThe material for the rear of the niche is set with the standard MATERIAL command.
2021-08-30 04:42 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 |
2021-08-30 04:53 AM
2021-08-30 11:05 AM
2021-08-30 10:15 PM
2021-09-09 11:42 PM
Form me, I don't really need to do very many things with .gdl. So it is a smaller thing to learn how to use a few scripts that I never wrote myself anyway 🙂 . Mostly is is a matter of just adding a few lines of script to some existing object to get it to do what I want.
ArchiCAD 25 7000 USA - Windows 10 Pro 64x - Dell 7720 64 GB 2400MHz ECC - Xeon E3 1535M v6 4.20GHz - (2) 1TB M.2 PCIe Class 50 SSD's - 17.3" UHD IPS (3840x2160) - Nvidia Quadro P5000 16GB GDDR5 - Maxwell Studio/Render 5.2.1.49- Multilight 2 - Adobe Acrobat Pro - ArchiCAD 6 -25