feilong80

ce.getAttribute returns wrong street width

Discussion created by feilong80 on May 13, 2013
Latest reply on Jun 16, 2015 by blakeharcourt
If I use ce.getAttribute to get a street width, it will return a wrong value under these circumstances:

1. Select a street
2. Change the default street width value to something else in the inspector (i.e. 8 to 20 or whatever)
3. Change the street width back to "default value" in the inspector
4. if I use ce.getAttribute after this, it *always* pulls the street width value that I entered as a user value, no matter what the default is. For example, if my default street width is 8, and I changed it as a user value to 16, then selected "use default value" in the inspector (so back to 8), the streetWidth attribute is still reported to me as "16" if I use ce.getAttribute( shape, '/ce/street/streetWidth' ). It does this even after closing and reopening CE!

Any thoughts?

thanks,
Rob

Outcomes