Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
I've been having the same problem while working with maps, I guess it could be a bug. When I drop a map and try to zoom in and out looking for a specific location, sometimes an error is thrown.
I haven't been able to duplicate the error, but I added some more error handling code to handle the situation shown in the error messages you posted. The updated code will release in FlexSim 21.2.3.
If you want to test the updated code to see if it helps right now, you can replace the following nodes' text after loading FlexSim, build all FlexScript, and then try zooming in and out to see if the error goes away.
The primary change is the addition of the ? in the dynamic property access, which should safely return 0 instead of throwing an exception if something caused those dynamic properties to not work correctly. The if() statements then quietly ignore the message if the properties returned 0.
I'm still having troubles working with maps. The majority of the errors I have happens when I manipulate latitude and longitude of the map or when I zoom in or out. The last one was this that so far is the first time.