• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Vault Customization

    Reply
    Active Contributor
    Posts: 42
    Registered: ‎02-03-2005

    Programmatically create a bom

    149 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

    Please use plain text.
    Employee
    Daniel.Dulzo
    Posts: 61
    Registered: ‎05-25-2011

    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.
    Please use plain text.
    Active Contributor
    Posts: 42
    Registered: ‎02-03-2005

    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.

    Please use plain text.