cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Value list for arrayed parameters

Barry Kelly
Moderator
I know how to set up a VALUE list for a standard parameter.

VALUES "param_name" "value_1', "value_2", ......

But is it possible to set a value list for an arrayed parameter?
Something like ...
VALUES "param_name [1][1]" "value_1', "value_2", ......


I have a window that has a variable number of horizontal and vertical panels.
Each of these panels can be fixed (F), awning (A) or louvre (L).
At the moment I have each panel listed with a separate parameter as that is the only way I can get the value list to work.

Am I overlooking something obvious or can it not be done?

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
15 REPLIES 15
Barry Kelly
Moderator
Thank you for the attachments Olivier and Juha.
I think I have done something very similar to Olivier's example although not quite so eloquently.
I will digest these scripts and see how I can improve.
Thanks again.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Juha wrote:
Hello,

Here's another, a floating tooltip with textual content.

Regards, Juha
Hi Juha,

Thanks for the displayParam tip! I missed this one too.

@ Barry:
Just add this display Parameter, and hotspots will dispay a panel Type (A, F or L) instead of a distance. More intuitive.
	hotspot2  0,  0        , uid, switch, 1+128         : uid = uid+1    ! base
	hotspot2  0, -1        , uid, switch, 3             : uid = uid+1    ! ref
	hotspot2  0,  switch, uid, switch, 2, panType : uid = uid+1    ! moving
Anonymous
Not applicable
Juha wrote:
Hello,

Here's another, a floating tooltip with textual content.
Great tip Juha!
I'd just use a radius/angular hotspot instead of a linear one.
Fabrizio Diodati
Graphisoft Alumni
Graphisoft Alumni
try the attached one also... it is just a tip to get a "simulated" UI.
1. Insert the object
2. Move the central hotspot to the right or to the left and the UI appears
3. use the hotspot on the buttons to make your choice
4. move again the central hotspot to the centre to hide the UI


Friendly
Fabrizio

P.S. you can use a better image for simulating the buttons... I used this one (low quality) just because it comes from the object preview (in this way I avoided to include the image as external source).
Fabrizio Diodati
Graphisoft Italy Srl | Via Rossignago 2/A Spinea Venezia 30038 Italy
Barry Kelly
Moderator
Thanks Fabrizio,
That graphical hotspot selection is a great idea and may come in handy.
Very much appreciated.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Hi folks,

Barry, thanks for the imput of this thread. There is always something to learn.

Fabrizio, nice tip! Simplicity is the best.

Attached a collection of various hotspot tips inspired from this thread,
+ an old one from Oleg. Examples are easy to customize. Maybe this can help some people.

Best regards to Joachim, Juha, Fabrizio, Oleg and Barry.
Olivier