Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programmatically create a bom

2 REPLIES 2
Reply
Message 1 of 3
alexniccoli
437 Views, 2 Replies

Programmatically create a bom

Hi All

Il release 2011 it was possible create a bom using UpdateItemBOMAssociations.

But in release 2012 is not possible.In vault.chm i read that now,using this method,is possible to update existing links.

Not possible adding links.In 2011 it was possible.

Are there some workarounds?thanks

Alessandro

2 REPLIES 2
Message 2 of 3
Daniel.Dulzo
in reply to: alexniccoli

Hello Alessandro,

 

This is actually a typo in the SDK documentation. The UpdateItemBOMAssociations method can be used for creating a BOM as well as updating BOM's. The Remarks section in the documentation should actually read, "Prior to calling this function, EditItem should be called to lock the parent Item for editing. After the BOM has been reordered, call a commit function, such as UpdateAndCommitItems, to finalize the changes."

 

Regards



Daniel Dulzo
Software Engineer
Autodesk, Inc.
Message 3 of 3
alexniccoli
in reply to: alexniccoli

Sorry I have done an error.

This method works well.As in past release.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report