Vault Customization

Active Contributor
Posts: 42
Registered: ‎02-03-2005
Message 1 of 3 (206 Views)

Programmatically create a bom

206 Views, 2 Replies
04-04-2012 02:53 AM

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


Posts: 61
Registered: ‎05-25-2011
Message 2 of 3 (200 Views)

Re: Programmatically create a bom

04-04-2012 10:09 AM 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."



Daniel Dulzo
Software Engineer
Autodesk, Inc.
Active Contributor
Posts: 42
Registered: ‎02-03-2005
Message 3 of 3 (183 Views)

Re: Programmatically create a bom

04-13-2012 02:04 AM in reply to: alexniccoli

Sorry I have done an error.

This method works well.As in past release.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community