Autodesk Vault Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Problems to link Documents to Items and vice versa
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
102 Views, 1 Replies
01-18-2012 12:52 AM
Hello to all
Our aim is to link a document to an article and vice versa.
In this special case we’ll like to create a new article with information based on a document and link both together.
in the PDF file you will find a description of our approach and the different states as screenshots. It seems to exist a problem in the method PromoteFiles when we try to link items to subassembly of an assembly. In some cases we get an Promoteresult with empty FileAssocArray, ItemAssocArray and ItemBomOccArray.
Hope you can help.
Gerhard Badziura
Cideon Systems
Re: Problems to link Documents to Items and vice versa
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-20-2012 05:21 AM in reply to:
gerhard.badziura
For complicated issues like this, I recommend using the Autodesk Developer Network for support if you have a membership.
Here are some things to look at:
- I'm assuming that these files were added through the Inventor plug-in, right? Were there any modifications made to these Vault files prior to calling PromoteFiles?
- If you run the "Assign Item" command on these files in the same order, what is the result? "Assign Item" is basically the UI command for PromoteFiles().
- In your code, you should check the StatusArray values on the ItemsAndFiles return object. Promote can create new items, update existing items, or do nothing if the items already exist. The status tells you what happend for each of the items in ItemRevArray.


