how to "save project as" or smth like that via mechanical scripting?
Options

cr1stall97
Member Posts: 3 **
in Structures
Good afternoon, can anyone tell me how to "save project as" or smth like that via scripting (i need to proceed many solutions in loop and save each as a different project)
Tagged:
0
Answers
-
Hi @cr1stall97 thanks for your question! I think someone in @Structures-Scripting-Team should be able to help.
0 -
Hi @cr1stall97 ,
Below script can be used in Mechanical Scripting Console (Mechanical --> Automation --> Scripting --> Scripting Editor --> "Run Script" icon) to save the entire WB project to the specified path
journalEngine = ExtAPI.Application.ScriptByName("journaling") journalEngine.ExecuteCommandAsync('Save(FilePath="D:/data/test_project.wbpj",Overwrite=True)')
1