An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Hello @Sinduja ,
I couldn’t find an official Solid Edge reference that directly identifies HRESULT 0x8004A0E0, so I’d be careful about treating the root cause as certain. From the behavior you described, it looks more like a COM/state problem during regeneration. For example, Solid Edge may still be busy when the next automation call runs, a previously captured COM object may no longer be valid after the model changes, or the update call may not match the current document context.
As a workaround, you could try running the automation on an STA thread and registering OleMessageFilter, since Siemens explicitly recommends that for cases where Solid Edge is busy or rejects calls. If this is happening during assembly updates, it may also be worth checking whether InterDocumentUpdate.LoadFilesToUpdate() should be called before Update().
Disclaimer: Some links are non-Microsoft websites. The pages appear to provide accurate and safe information, but please watch out for ads on those sites that may promote products sometimes classified as PUPs (Potentially Unwanted Products). Be sure to research any advertised product carefully before downloading or installing it.
I hope this information helpful. If you can share a small code sample or the full stack trace, it may be easier to narrow down the cause. If you found this answer helpful, you could follow this guide to give feedback.
Thank you.