I have the following error when trying to add an expression in properties.
Does anyone know what is causing this error and how this can be fixed?
Thanks for your help.
Jacek Soroko said:
I have the following error
Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection
I've also seen that bewildering message and wondered what it means! You're not defining an array, but an Item Type property of type text where IsArray is false. Others have reported that same error (search this Forum for Expression).
Jacek Soroko said:trying to add an expression
In these times of snowflake personalities, perhaps the Expression is upsetting to MicroStation? What is the Expression you attempted to submit?
Regards, Jon Summers LA Solutions
Thanks for your feedback.
I was trying to insert any mathematical operation to see how it works as this is something new to me and I would like to learn more. I was able to enter the mathematical operation in this line direcly and it works. It only shows the error when you click on three dots, that appears at the end of the line, when the line is selected.
Jacek Soroko said:It only shows the error when you click on three dots
OK, but the error message is confusing and irrelevant. In an attempt to encourage the MicroStation developers to improve the messages provided to users, it's a good idea to report your problem formally by submitting a Service Request (SR).
Perhaps Mangesh.Shelar (he's the Item Types/Expressions guru) could comment?
There was a bug in the expression system which we fixed already. Please confirm the Microstation or vertical product version you are using.
MicroStation Connect Edition Update 15, version 10.15.02.11
Thank you for information.
We have fixed this issue on MicroStation Connect Edition Update 16 where Expression Builder is Commercial Access.
It was under Tech preview access in U15 builds and problem occurred if Expression builder token was enabled.
So just a workaround, you can disable Expression Builder on U15.2.