Some elements in my drawings are reporting "??È" as the ModelName. It looks corrupted, and trying to write that text into a text file will cause an error. Has anyone seen this?
I agree, this looks like a memory violation. But without knowing where (V8i, CE, etc.) and how (C/C++, C#, VBA, etc) it is not possible to say more.
Mit freundlichen Grüßen / Best regards Volker Hüfner
| AB_DATE Engineering Software | ab-date.de |
I agree with Volker that without knowing more, it's hard to guess. You do not follow the forum best practices, so it's not clear what product, version, API and language do you use.
In addition to these crucial information, I'd like to ask also about:
Labyrinth Technology | dev.notes() | cad.point
You're right, not enough info. Here goes, these are drawings that were created in V8i SS3, when running the same script in SS3 the model names all check out, but when opening this drawing in Connect Update 12, and running the same script, the model names report those values. What's weird is that its not always the same elements, it almost seems like once it gets triggered all elements after that report that value.
For now, my workaround is to get modelname another way, not from the element itself.
Jan, I may be a chronic "forum best practices" violator.
But in reality, this was meant to be a generic question, to see if anyone has seen this behavior, surely that's a very unique symbol that may rattle some memory. Being general also limits everyone from blaming "connect" or "your drawing is messed up", or "you're not coding right". If it isn't a common issue, then sure I can share details and even provide the file if needed.
Viktor_Kulik said:But in reality, this was meant to be a generic question
In such case, the best practice is to specify explicitely it's generic question :-))))
... but my feeling is that it's not generic question.
Viktor_Kulik said:to see if anyone has seen this behavior, surely that's a very unique symbol that may rattle some memory.
The discussion is a bit pointless, because you have not specified where you encounter the problem. And MicroStation GUI, native code, managed code and VBA are completely different and pretty separated worlds with own set of problems.
Also, you have not shared any code snippet, so how model name was retrieved is not clear.