Sie sind nicht angemeldet.

  • »Max Mecklenburg« ist der Autor dieses Themas

Beiträge: 20

Wohnort: Magdeburg, Germany

Beruf: Student, programmer & web designer

  • Nachricht senden

1

Montag, 20. Dezember 2021, 15:03

Hotspot.atv & variables

Dear all,

I want to save atv of a hotspot in a variable and I used follow code
but when I print it, it will show ".atv" while I am expecting it to show a number
I will appreciate it if you share your opinion with me and give me a hand to fix this problem.
best regards




code:

set(var1,hotspot[measure1].atv);

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Montag, 20. Dezember 2021, 15:08

Hi

use:

Quellcode

1
copy(var1,hotspot[measure1].atv);


or


Quellcode

1
set(var1,get(hotspot[measure1].atv));



https://krpano.com/docu/actions/#set

https://krpano.com/docu/actions/#copy


Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

Ähnliche Themen