Page 1 of 1

Floor plan - autoswitch

Posted: Mon Oct 03, 2022 4:42 pm
by Marcus
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

Re: Floor plan - autoswitch

Posted: Tue Oct 04, 2022 8:26 pm
by snowlexx
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

Re: Floor plan - autoswitch

Posted: Thu Oct 06, 2022 11:07 pm
by Hopki
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 1235 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,

Re: Floor plan - autoswitch

Posted: Fri Oct 07, 2022 8:49 am
by Marcus
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

Re: Floor plan - autoswitch

Posted: Fri Oct 07, 2022 10:47 pm
by Hopki
Hi Marc,
We will add it to the list.
Regards,