We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2017-06-20 05:31 PM - last edited on 2023-05-24 10:00 AM by Rubia Torres
2017-06-21 08:29 AM
2017-06-21 05:19 PM
2017-06-22 09:25 AM
2017-06-22 08:47 PM
2017-06-22 08:56 PM
matjashka wrote:I just tried to test this and it seems that I can adjust any parametric parameters that I set up in the GDL script in addition to the A, B, and zzyzx dimensions.
Everything that Erwin said above, plus:
After you script your own parametric door leaf, once you call it in the Door you basically have no access to modify any of the parameters, and the Door on the plan will mostly pass A, B and ZZYZX down to the leaf. Some Doors scripts may be written to pass more parameters down to the custom door leaf, like finish and material, I haven't had much success with that in older versions and haven't tried any new tricks since.
Your door leaf must rely mostly on those three to auto-adjust other proportions -- in other words, all the panels or glass/muntin spacing in the leaf depend mainly on A and B, and then some ZZYZX.
2017-06-22 09:05 PM
I just tried to test this and it seems that I can adjust any parametric parameters that I set up in the GDL script in addition to the A, B, and zzyzx dimensions....within the door leaf itself, but typically not from the door where that custom leaf has been placed.
2017-06-22 09:15 PM
2017-06-26 11:35 AM
addx a/2 c=zzyzx ddd=c a=a b=b !v=d !mat1=e !handtype=f !g=g !mat2=g tsz=0 roehor=2 roever=3 links=0.150 rechts=0.150 bov=0.150 ond=0.285 tus=0.180 mid=1.100 paneelrandbuiten=0.010 paneelrand=0.060 paneelrandraam=0.040 raamb=0.056 raambov=0.499 raamond=1.652 glaslat=0.030 material mat2 !! hoofdvorm prism_ 10, ddd, -a/2, 0, 15, a/2, 0, 15, a/2, b, 15, -a/2, b, 15, -a/2, 0, -1, !! gat in hoofdvorm -a/2+links, ond, 15, a/2-rechts, ond, 15, a/2-rechts, b-bov, 15, -a/2+links, b-bov, 15, -a/2+links, ond, -1 !! binnenste paneel prism_ 10, ddd, -a/2+links+paneelrand,ond+paneelrand, 15, a/2-(rechts+paneelrand),ond+paneelrand, 15, a/2-(rechts+paneelrand), b-bov-paneelrand, 15, -a/2+links+paneelrand, b-bov-paneelrand, 15, -a/2+links+paneelrand,ond+paneelrand, -1, !! gat in paneel -raamb/2-glaslat-paneelrandbuiten-paneelrandraam, raamond-glaslat-paneelrandbuiten-paneelrandraam, 15, raamb/2+glaslat+paneelrandbuiten+paneelrandraam, raamond-glaslat-paneelrandbuiten-paneelrandraam, 15, raamb/2+glaslat+paneelrandbuiten+paneelrandraam, b-raambov+glaslat+paneelrandbuiten+paneelrandraam, 15, -raamb/2-glaslat-paneelrandbuiten-paneelrandraam, b-raambov+glaslat+paneelrandbuiten+paneelrandraam, 15, -raamb/2-glaslat-paneelrandbuiten-paneelrandraam, raamond-glaslat-paneelrandbuiten-paneelrandraam, -1 !! rand raam prism_ 10, ddd, -raamb/2-glaslat-paneelrandbuiten, raamond-glaslat-paneelrandbuiten, 15, raamb/2+glaslat+paneelrandbuiten, raamond-glaslat-paneelrandbuiten, 15, raamb/2+glaslat+paneelrandbuiten, b-raambov+glaslat+paneelrandbuiten, 15, -raamb/2-glaslat-paneelrandbuiten, b-raambov+glaslat+paneelrandbuiten, 15, -raamb/2-glaslat-paneelrandbuiten, raamond-glaslat-paneelrandbuiten, -1, !! gat in paneel -raamb/2-paneelrandbuiten, raamond-paneelrandbuiten, 15, raamb/2+paneelrandbuiten, raamond-paneelrandbuiten, 15, raamb/2+paneelrandbuiten, b-raambov+paneelrandbuiten, 15, -raamb/2-paneelrandbuiten, b-raambov+paneelrandbuiten, 15, -raamb/2-paneelrandbuiten, raamond-paneelrandbuiten, -1 addz 0.0125 !! verdiepte rand paneel prism_ 10, ddd-0.025, -a/2+links+paneelrandbuiten, ond+paneelrandbuiten, 15, a/2-rechts-paneelrandbuiten, ond+paneelrandbuiten, 15, a/2-rechts-paneelrandbuiten, b-bov-paneelrandbuiten, 15, -a/2+links+paneelrandbuiten, b-bov-paneelrandbuiten, 15, -a/2+links+paneelrandbuiten, ond+paneelrandbuiten, -1, -a/2+links+paneelrand,ond+paneelrand, 15, a/2-(rechts+paneelrand),ond+paneelrand, 15, a/2-(rechts+paneelrand), b-bov-paneelrand, 15, -a/2+links+paneelrand, b-bov-paneelrand, 15, -a/2+links+paneelrand,ond+paneelrand, -1 !! raam material mat1 prism_ 5, ddd-0.025, -raamb/2, raamond, 15, raamb/2, raamond, 15, raamb/2, b-raambov, 15, -raamb/2, b-raambov, 15, -raamb/2, raamond, -1 material mat2 del 1 addz -0.005 !! buitenste rand paneel prism_ 10, ddd+0.01, -a/2+links, ond, 15, a/2-rechts, ond, 15, a/2-rechts, b-bov, 15, -a/2+links, b-bov, 15, -a/2+links, ond, -1, -a/2+links+paneelrandbuiten,ond+paneelrandbuiten, 15, a/2-(rechts+paneelrandbuiten),ond+paneelrandbuiten, 15, a/2-(rechts+paneelrandbuiten), b-bov-paneelrandbuiten, 15, -a/2+links+paneelrandbuiten, b-bov-paneelrandbuiten, 15, -a/2+links+paneelrandbuiten,ond+paneelrandbuiten, -1 !! brede rand raam prism_ 10, ddd+0.01, -raamb/2-glaslat-paneelrandbuiten-paneelrandraam, raamond-glaslat-paneelrandbuiten-paneelrandraam, 15, raamb/2+glaslat+paneelrandbuiten+paneelrandraam, raamond-glaslat-paneelrandbuiten-paneelrandraam, 15, raamb/2+glaslat+paneelrandbuiten+paneelrandraam, b-raambov+glaslat+paneelrandbuiten+paneelrandraam, 15, -raamb/2-glaslat-paneelrandbuiten-paneelrandraam, b-raambov+glaslat+paneelrandbuiten+paneelrandraam, 15, -raamb/2-glaslat-paneelrandbuiten-paneelrandraam, raamond-glaslat-paneelrandbuiten-paneelrandraam, -1, -raamb/2-glaslat-paneelrandbuiten, raamond-glaslat-paneelrandbuiten, 15, raamb/2+glaslat+paneelrandbuiten, raamond-glaslat-paneelrandbuiten, 15, raamb/2+glaslat+paneelrandbuiten, b-raambov+glaslat+paneelrandbuiten, 15, -raamb/2-glaslat-paneelrandbuiten, b-raambov+glaslat+paneelrandbuiten, 15, -raamb/2-glaslat-paneelrandbuiten, raamond-glaslat-paneelrandbuiten, -1 !! rand raam prism_ 10, ddd+0.01, -raamb/2-paneelrandbuiten, raamond-paneelrandbuiten, 15, raamb/2+paneelrandbuiten, raamond-paneelrandbuiten, 15, raamb/2+paneelrandbuiten, b-raambov+paneelrandbuiten, 15, -raamb/2-paneelrandbuiten, b-raambov+paneelrandbuiten, 15, -raamb/2-paneelrandbuiten, raamond-paneelrandbuiten, -1, -raamb/2, raamond, 15, raamb/2, raamond, 15, raamb/2, b-raambov, 15, -raamb/2, b-raambov, 15, -raamb/2, raamond, -1 del 1 !! neus addz ddd addx a/2 addy 0.01 roty -90 rotz 90 addz 0.017 prism_ 5, a-0.034, 0, 0, 15, 0.07, 0, 15, 0.07, -0.005, 15, 0.05, -0.02, 15, 0, -0.02, 15 del top end