We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2014-04-16 11:23 AM - last edited on 2023-05-24 10:50 AM by Rubia Torres
2014-04-16 03:31 PM
2014-04-16 04:11 PM
2014-04-16 07:57 PM
laszlonagy wrote:After modify the parameter "WALL_THICKNESS" as capital word instead of "Wall_Thickness", the scripts could work.
WALL_THICKNESS is a GDL Global variable so it should be storing the thickness of the Wall the Window/Door is placed into.
Are you saying that the cross does not adjust to the Wall thickness of the Wall?
Can you attach a screenshot of the incorrect result?
2014-04-17 03:06 PM
Kent wrote:You need to set the line type before the lines command:
By the way, how to match the Cross Line's Style with the Contour's Line's Style. Thank you!
SET LINE_TYPE gs_wcont_line_inor
SET LINE_TYPE gs_wcont_line_outdepending on whether you want to use the Inside or Outside line type.
PEN gs_wcont_line_penNotice in the GDL main library window interface the Type column, which shows you the type of variable being used (line type, pen, etc).
Kent wrote:The upper or lower case makes no difference, even WaLl_ThIcKnEsS works, there must some other issue, sometimes invisible characters can be copied into the GDL script, creating unreadable lines.
[After modify the parameter "WALL_THICKNESS" as capital word instead of "Wall_Thickness", the scripts could work.
line2 -a/2,0,a/2,WALL_THICKNESS
line2 -a/2,WALL_THICKNESS,a/2,0