Floor plan - autoswitch

Q&A about the latest versions
Post Reply
Marcus
Posts: 64
Joined: Mon Nov 08, 2021 12:17 pm

Hi there,

If a floor plan component is configured to "auto-switch", is there a way to display the name of the currently selected / active floor plan? Is a placeholder variable available to reference?

Many thanks,
Marc
snowlexx
Posts: 47
Joined: Fri Dec 27, 2019 5:21 pm
Location: Россия

it seems to me, that you can use any field of panoramas, linked to this plan. that is, on each panorama, specify the name of the plan, to which this panorama is linked, and output the value of this field
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Marc,
If you have multiple floor plans, do you have tags in your panoramas?
If so then use the tags to change the text of a text box.

Screenshot 2022-10-06 at 22.05.33.png
Screenshot 2022-10-06 at 22.05.33.png (152.24 KiB) Viewed 946 times

Here you can see the panoramas have the tags "ground", "first" and "second".
Using these tags you can use the text logic block to change the text.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Marcus
Posts: 64
Joined: Mon Nov 08, 2021 12:17 pm

Hi Hopki,

That's the approach I used in the end - I was just wondering if a 'hidden' placeholder was available to e.g $(fp) - current floorplan name,

Access to floor plan information feels a little manual. May be If floorplans worked with the cloner, it would make the process much easier. E.g. dynamically clone buttons / links which could show all levels for a given map. Then the current floorplan name could be shown using a placeholder. This would also remove the need to 'hard-code' switching logic and floor plan names. The floor plan names would also then update automatically if the floor plan names were changed in the project (without the need to also update the floor plan names in the skin's logic blocks). Just a thought.

Many thanks
Marc
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Marc,
We will add it to the list.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply