Solid Works Macro part.SaveAs2
Solid Works Macro part.SaveAs2
(OP)
OK, I think that with an example it will be clear:
t = Time
str1 = Str(t)
str2 = "C:\copy[" & str1 & " ].SLDPRT"
Part.SaveAs2 str2, 0, False, False
OK that doesn't work though checked with the QuickWatch and Str2 is a string and maches what I want. Such is this that if I change str2 = "C:\copy[ str1 ].SLDPRT"
it does save it with the new name.
Can somebody post me with what might be wrong?
t = Time
str1 = Str(t)
str2 = "C:\copy[" & str1 & " ].SLDPRT"
Part.SaveAs2 str2, 0, False, False
OK that doesn't work though checked with the QuickWatch and Str2 is a string and maches what I want. Such is this that if I change str2 = "C:\copy[ str1 ].SLDPRT"
it does save it with the new name.
Can somebody post me with what might be wrong?






RE: Solid Works Macro part.SaveAs2
Eric
RE: Solid Works Macro part.SaveAs2
Once again thanks.