Skip to main content

ModelCenter APIs 2025 R2

restoreFile

Last update: 16.07.2025

public restoreFile(fileID: String, targetLocation: String): Boolean

***************************************************************************** Restores the file by ID to the given location.

Return

true if a file with the given id was restored, false on failure

Parameters

fileID id of the file to restore
targetLocation disk location to restore the file

Throws

ModelCenterException

Connect with Ansys