Programmatically create a bom

Programmatically create a bom

Anonymous
Not applicable
757 Views
2 Replies
Message 1 of 3

Programmatically create a bom

Anonymous
Not applicable

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

0 Likes
758 Views
2 Replies
Replies (2)
Message 2 of 3

Daniel.Dulzo
Alumni
Alumni

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.
0 Likes
Message 3 of 3

Anonymous
Not applicable

Sorry I have done an error.

This method works well.As in past release.

0 Likes