Hello
I'm making macro to import .step and save assembly and parts in specified folder (other than step localization).
All parts are internal after import.
Problem:
When i am saveing using
SaveFilePath = Path & Producer & "\\" & SaveFileName(0) & "\\" & SaveFileName(0) & ".SLDASM"
swModel.SaveAs3(SaveFilePath, 0, 2)
assembly is saved in specified localisation, but parts are saved in .step localisation.
When i'm saving file "by hand" i can pick "include all referenced components" and it work fine.
Is it possible to do this by macro ?
SolidworksApi/macros