We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2008-03-11 02:59 PM
2008-03-11 09:06 PM
2008-03-11 10:58 PM
2008-03-12 06:28 PM
! parameter: winAreaFifth (real number type) ! In master script winAreaFifth=ROOM_WINDS_SURF*0.2 PARAMETERS winAreaFifth= winAreaFifthThen add that parameter to the schedule using Scheme Settings -> Fields -> Additional Parameters.
2008-03-13 08:33 PM
2008-04-15 04:40 PM
! options for the factor calculationWhat am I doing wrong?
values "Vent_ilum_factor_name" "1/8","1/5"
if Vent_ilum_factor_name="1/8" then Ilum_vent_factor=0.125
if Vent_ilum_factor_name="1/5" then Ilum_vent_factor=0.2
! calculating the needed illumination and ventilation area
Ilum_vent_ar= ROOM_CALC_AREA*Ilum_vent_factor
PARAMETERS Ilum_vent_area=Ilum_vent_ar
! Showing the existent illumination and ventilation area
Ilum_vent_exist= ROOM_WINDS_SURF
PARAMETERS Ilum_vent_exist= Ilum_vent_exist
2008-04-15 08:21 PM
2008-04-16 12:20 AM
2008-04-16 10:05 PM
2008-04-17 04:52 PM
vfrontiers wrote:There are cases where it's more reliable to do the calculation separately, such as if the value will be used in other calculations besides the PARAMETERS statement. For some reason, changing the value of the parameter does not always change the value of the variable.
Why couldn't you just type....
PARAMETERS Ilum_vent_area = ROOM_CALC_AREA*Ilum_vent_factor