I have taken the joist tool from Archicad 8.1 and have saved it as a beam tool. I set up a beam size parameter and created a set of IF Then statements. I am able to set width and height. I want to add a length limit for each beam size i.e. a<=21'-0", as soon as I add the less than character the script fails. See below. Thanks.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!Beam Sizes!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
values 'beam_size' '4x6','4x8','6x6','6x8','6x10','6x12','8x8','Custom'
IF beam_size='4x6' THEN
parameters b=3.5",zzyzx=5.5",a<=21'-0"
ENDIF
IF beam_size='4x8' THEN
parameters b=3.5",zzyzx=7.25"
ENDIF
IF beam_size='6x6' THEN
parameters b=5.5",zzyzx=5.5"
ENDIF
IF beam_size='6x8' THEN
parameters b=5.5",zzyzx=7.25"
ENDIF
IF beam_size='6x10' THEN
parameters b=5.5",zzyzx=9.25"
ENDIF
IF beam_size='6x12' THEN
parameters b=5.5",zzyzx=11.25"
ENDIF
IF beam_size='8x8' THEN
parameters b=7.25",zzyzx=7.25"
ENDIF
Barry Halloran