hexagon logo

SaveAs2 Function

There is a function available in the object library called "SaveAs2" which is supposed to allow you to save the part program with CAD as reference. I can't seem to get this to work. It saves the part program just fine but it also saves the CAD no matter what value I pass in the second argument. Has anyone else had any luck with this?

Function SaveAs2(Name As String, CadAsReference As Boolean) As Boolean
Member of PCDLRN.PartProgram
Saves the part program with the provided name. CadAsReference allows to save the CAD as reference to the original one
Parents Reply Children
No Data