Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi community,
I have used SetBomByFileId to re-write the FileBom.
The new FileBom is the same like the old one but I have removed just 1 component from the CompArray.
The function "SetBomByFileId" throws the error code "1145", but I can nowhere locate the appropriate error message for this code. Where can I find it?
Real Problem
GetBOMByFileId returns Components with XRefIds which do not exist in Vault anymore.
After running the Autodesk Job autodesk.vault.extractbom.inventor on the affected Assembly doesn't write a new FileBom like mentioned in this blog post
The API documentation for SetBomByFileId (which the job should use) says "File cannot have a BOM already associated with it."
Does this mean the job fixes the FileBom only in case there is NO bom at all?
Is there a better way in my case where only some XRefIds are wrong without making a check-in with Inventor?
Had somebody else a similar case? Any help is very appreciated thanks!
Please mark this response as "Accept as Solution" if it answers your question.
If you have found any post to be helpful, even if it's not a direct solution, then please provide that author kudos! 😉
The author,
Patrick
coolOrange
www.coolOrange.com
If you have found any post to be helpful, even if it's not a direct solution, then please provide that author kudos! 😉
The author,
Patrick
coolOrange
www.coolOrange.com
Solved! Go to Solution.
