Vault Customization

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

Programmatically create a bom

215 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 (209 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 (192 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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

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

Ask the Community