Localization Issue (Model Browser displays non-existing names of solid bodies)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
It was discovered that Inventor Model Browser displays inconsistent/unreal/localized names for Solid Bodies of MBP (Multi-Body-Part) unless you use the same Inventor localization that was used for model creation.
It is pretty obvious the localization issue yet I'm not sure if it is an issue of API or Inventor itself.
Details:
Recently I was playing around with one sample MBP 3Dmodel (see attachment to post - https://forums.autodesk.com/t5/inventor-i-promyshlennoe/interesnaya-zadacha-dlya-autodesk-inventor-i...) in English Inventor 2023.2 and .. exception happened when I tried to define particular solid body (SurfaceBody) using it's English name that was present in Model Browser (this was one of suggestions from @MjDeck to workaround Exception 800004005 issue/defect see - https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/only-1-st-code-run-fails-with-unspec....
The model itself was probably created with Russian Inventor (2020) and body names printed out to logger from English or Italian are all Russian:
For Each oSB In ThisDoc.Document.ComponentDefinition.SurfaceBodies
Logger.Info(oSB.Name)
Next
... so in all cases API only knows Russian names, and you'd probably get in troubles if you are coding some all-localization application to be used with MBPs, and need to input/output from/to user the body name!
I'm posting it here in order someone from Autodesk Inventor (API) DEVs confirm that this is an issue/defect and sound out the plans to fix it.
Please vote for Inventor-Idea Text Search within Option Names
