We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

value lists

Anonymous
Not applicable
am i able to set a default value out of list of values
4 REPLIES 4
Frank Beister
Moderator
Yes. use VALLUES

VALUES "a" 0,1,1.25,1.5,2,5,custom

This adds a value list to the width of the object.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
ive got a basin part that has 4 types of basins
square, round, etc

ive predefined a series of sizes + a custom to override

if i toggle between basin types the size is automatically defaulting to custom which is set at the previous basin size

when if change basin i need to set a size in the selected basin value list
Anonymous
Not applicable
damien wrote:
ive got a basin part that has 4 types of basins
square, round, etc

ive predefined a series of sizes + a custom to override

if i toggle between basin types the size is automatically defaulting to custom which is set at the previous basin size

when if change basin i need to set a size in the selected basin value list
In parameterscript :

VALUES "basin" "t1","custom"

IF basin="t1" THEN
PARAMETERS a = 1.2 ! Set parameter A to 1.2
LOCK "a" ! Lock parameter A to be edit manually
ENDIF
IF basin="custom" THEN
! nothing needed here
ENDIF
David Maudlin
Rockstar
damien:

If all you want is for a particular option in the value list to be the default value, open the library part, in the main library part window set the value parameter to the preferred default, and then save the part.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14