We recently moved from SW 2013 SP02 to SW2015 SP02 and have a problem with a fairly simple API:
swapp = GetObject(, "SldWorks.Application")
Doc = swapp.ActiveDoc
DocExt = Doc.Extension
CustProp = DocExt.CustomPropertyManager("")
Title = Doc.GetTitle
txtDocNumber.Text = Doc.CustomInfo2("", "Number").ToUpper
This code pulls the attributes from the Solidworks part and populates a form. It is a Custom Properties tool.
This functioned fine in the previous version but now nothing.
Any assistance or enlightenment would be most appreciated!