scripting:api:base-document:save

Save

Method of IBaseDocument

Saves document under given path. If path is empty saves on current file name

BaseDocument.Save(strPath, bAsCopy);
BaseDocument.Save strPath, bAsCopy
HRESULT hr = BaseDocument.Save(strPath, bAsCopy);