Sometimes we have to get folder from Vault, that contains non-CAD files, and put it locally. Once we can drug'n'drop it to Explorer, but if we want to automate this operation, this becomes not so easy.
Autodesk Inventor Scheduler can't help us, because it's configured just to work with Inventor files.
Nevertheless, Autodesk Vault setup contains SDK, that greatly enhances our possibilities. So we take ListFiles example, and modifying it using Microsoft Visual Studio Express to download files instead just listing their names.
As a result, we get an command prompt app, that downloads files, using parameters:
For example:
You can download all of this:
Autodesk Inventor Scheduler can't help us, because it's configured just to work with Inventor files.
Nevertheless, Autodesk Vault setup contains SDK, that greatly enhances our possibilities. So we take ListFiles example, and modifying it using Microsoft Visual Studio Express to download files instead just listing their names.
As a result, we get an command prompt app, that downloads files, using parameters:
VaultSite VaultName Login Password VaultPath LocalPath
For example:
CopyVaultFolder.exe contoso:8080 "Main Vault" Administrator gfdhj14hfhdjs "$/Projects/039-432" "d:\Archive\039-432"
You can download all of this:
- Executable CopyVaulyFolder.zip.
- Microsoft Visual Studio 2010 Express source code VaultList.zip.
а почему этот пост не по-русски? :)
ОтветитьУдалитьСкажите, как с вами можно связаться?
Этот пост для англоязычной аудитории. По почте.
ОтветитьУдалить