Hit my talent wall with this, STEP file convert via API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all - hoping someone here might have experienced something that rings a bell, I've spent 30+ hours on this so far and hit the wall with it.
I've just released some automation which does something really simple, but the outcome is different on some PCs.
The code simply opens a STEP file using the convert option, completely default command options, then when it's finished converting it triggers a save on the converted data and saves it all to disk.
However, on some systems, at the end of the convert process, instead of the automation saving the data, it's triggering a "Save As" prompt and showing the "Assembly1.iam" prompt requiring the user to manually save it.
But here's the weird thing, if I manually open the STEP file by hand first on one of these PCs and manually do what my code would do... after I've done that once, my code works flawlessly from then on.
I have 15+ workstations at home here and I can't reproduce this issue, I've imported the application options from the affected systems but it didn't reproduce, I unload all addins including iLogic/Vault/Data Standard and make sure the STP translator is preloaded. I have a preloaded IPJ, I've verified there's no write permission issues to the folder we're saving to, I'm completely stumped on this.
It's only affecting a small number of systems but I've no idea what they all have in common. It happens on both Inventor 2021 and 2022, regardless of SP level.
Does this sound familiar to anyone?
Thanks in advance