2 Replies Latest reply on Apr 29, 2016 7:10 AM by Michael Lu

    How to edit CustomInfo of a Solidworks file using API

    Michael Lu



      Can anyone suggest a better way of editing the custom information of a SW file? My way is to delete the custom property and add it with a new value.


          retval = ModelDoc.DeleteCustomInfo2("", "Number")

          retval = ModelDoc.AddCustomInfo3("", "Number", 30, gen_form.txtNumber.Value)