AnsweredAssumed Answered

macro: Save assembly with internal parts referenced components

Question asked by Jalub Mastej on Jul 3, 2019
Latest reply on Jul 5, 2019 by Anthony Kanov

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 ?

Outcomes