Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2004-05-16 05:48 PM
2004-05-16 05:52 PM
2004-05-16 06:37 PM
RandyC wrote:May be this solution
Is it possible to have an object stretch (snapping to ) by an increment of
say 8" ?
2004-05-16 06:49 PM
2004-05-17 02:03 AM
2004-05-17 04:10 PM
!bed widths VALUES 'A' 39", !twin 54", !Full 60", !Queen 76" !KingYou can also bind values in different lists together using GLOB_MODPAR_NAME.
!water heater dimensions !gallon size VALUES 'galq' 30, 50, 75, 100, 120 !diameter VALUES 'A' 22", 24", 26", 28", 30" !height VALUES 'ZZYZX' 48", 60", 74", 76" IF GLOB_MODPAR_NAME='galq' THEN IF galq=30 THEN PARAMETERS A=22" PARAMETERS ZZYZX=48" ENDIF IF galq=50 THEN.... IF GLOB_MODPAR_NAME='A' THEN IF A=22" THEN PARAMETERS galq=30 PARAMETERS ZZYZX=48" ENDIF IF A=24" THEN...So the user can choose the size from the list or stretch the diameter and the related parameters update.
2004-05-17 05:48 PM
James wrote:Is it possible to combine the GLOB_MODPAR_NAME with a VALUES statement in the IF THEN test ?
You can also bind values in different lists together using GLOB_MODPAR_NAME.
2004-05-17 08:18 PM
Geoffroy wrote:Conditional VALUES lists are OK in general, in my experience. I put all lists in the Master Script, it's more consistent than the Parameter Script.
Is it possible to combine the GLOB_MODPAR_NAME with a VALUES statement in the IF THEN test ?
IF GLOB_MODPAR_NAME='name1' THEN VALUES 'A' 1',2',3' IF GLOB_MODPAR_NAME='name2' THEN VALUES 'A' 4',5',6'It seems to work; I've never done it in practice. There can't be a VALUES statement for the parameter that's NOT part of a conditional. IE, don't do this:
VALUES 'A' 7',8',9' IF GLOB_MODPAR_NAME='name1' THEN VALUES 'A' 1',2',3' IF GLOB_MODPAR_NAME='name2' THEN VALUES 'A' 4',5',6'Then there's two lists for the same parameter, which, not surprisingly, gives unpredictable results.
IF GLOB_MODPAR_NAME='ZZYZX' THEN IF ZZYZX=1' THEN PARAMETERS modelname='Short' IF ZZYZX=3' THEN PARAMETERS modelname='Tall' ENDIF...but can't relied on in 3D.