Vault Customization

Vault Customization

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

Programmatically create a bom

227 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

Alessandro

Employee
Daniel.Dulzo
Posts: 61
Registered: ‎05-25-2011
Message 2 of 3 (221 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."

 

Regards



Daniel Dulzo
Software Engineer
Autodesk, Inc.
Active Contributor
alexniccoli
Posts: 42
Registered: ‎02-03-2005
Message 3 of 3 (204 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.