variable = swPart.GetCustomInfoValue("", "Item")
If the custom property doesnt exist, I get an error. How can I continue the macro if it doesnt exist? If it doesnt exist, I want the user to assign one.
SolidworksApi macros
variable = swPart.GetCustomInfoValue("", "Item")
If the custom property doesnt exist, I get an error. How can I continue the macro if it doesnt exist? If it doesnt exist, I want the user to assign one.
SolidworksApi macros