This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Create/ copy widget in visu
#6
Hi

I am facing a problem here. I have created a script that is adding widgets to the visu, and adding labels and objects to the widgets based on my object list. I have done it all on an older SpaceLYnk I had in my office, and everything worked fine.

Now I have copied the script to a newer SL at a project and am running the script. But on this SL the widgets are created, but no labels or objects are added to the widgets.

To insert the widget I greate a table with all properties of the widget and then use the following;
Code:
db:insert('visfloors', widget)
widget being the table with properties. This part works.

When adding labels and objects I also create a table and add it like this;
Code:
db:insert('visobjects', element)

I have logged the tables, and they have the right values as far as I can see, but the elements are not added to the database. Has there been a change in this for the newer HW version. I am running FW 2.3.0 on both the new and the old SL that I have tested the script.
There are 10 kinds of people in the world; those who can read binary and those who don't  Cool
Reply


Messages In This Thread
Create/ copy widget in visu - by Trond Hoyem - 23.10.2019, 21:13
RE: Create/ copy widget in visu - by admin - 25.10.2019, 07:03
RE: Create/ copy widget in visu - by Trond Hoyem - 25.11.2019, 13:53
RE: Create/ copy widget in visu - by admin - 25.11.2019, 14:29
RE: Create/ copy widget in visu - by admin - 25.11.2019, 15:12
RE: Create/ copy widget in visu - by admin - 25.11.2019, 15:29
RE: Create/ copy widget in visu - by admin - 25.11.2019, 15:34

Forum Jump: