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
#8
(25.11.2019, 14:29)admin Wrote: Have you assigned floor value for elements to new floor id? Also try logging return values of insert statement, it might show where the error is.

Yes, when I log the table, I have floor value, but when I log the visobjects with last floor value, the table is empty.

One other thing I can see; when I create the table I have a line stating element.id = nil to get an automatic ID, but when I log the table this line is not included. Maybe this is the problem? I should maybe get a line in the table like:
[id]
   * nil

(25.11.2019, 14:29)admin Wrote: Have you assigned floor value for elements to new floor id? Also try logging return values of insert statement, it might show where the error is.

I tested the logging of the last entered element in the old and the new SL, and in the old one I get a table in return, but not in the new one.

The script is copied from the old to the new.
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 admin - 25.11.2019, 14:29
RE: Create/ copy widget in visu - by Trond Hoyem - 25.11.2019, 14:45
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: