Hi,
there has any way to know if the asset that you are using in your assembly (Factory Layout) is up to date ? And how you can update with the latest version ?
Norbert
Hello Norbert,
so far we´ve been emploing the following workflow:
There is one Keyuser- only he is allowed to update the library assets. They are- as updated- copied
to a server location. This can easily be done via a batch file, therefore deleting the old versions auto-
matically prior to copying. If someone needs to add something to the library, he´s in charge of the job.
The Keyuser therefore can inform all the FDS users to update via mail. Their assets are updated
via a second batch file available for all users.
Given all of your assets were cloud assets you would still need to delete them locally as an update
is necessary. A server exclusive location for assets I can´t agree with, even the fastest network will
lag behind when compared to a SSD drive, which we work with.
All of the steps above can be automated- the batch file could be executed right after the computer
finished starting windows.
The following update.bat is the scrip the user has to start in order to iupdate his library. We´ve not
integrated this in the windows startup sequence as this would cause to much traffic. The command
lines delete all the prior versions, thus deleting folders as well as content completely. By setting
different flags you could also choose to copy newer files only. I am not a fan of this approach, some-
times this resulted in error messages.
These are the contents of the *.txt file renamed to *.bat after editing...
echo off
rd "%userprofile%\Documents\Factory Library\"/s/q
rd "%userprofile%\Documents\FactoryCloudLibrary\ConnectorClasses\"/s/q
rd "C:\Users\Public\Documents\Autodesk\Inventor 2014\Templates\viastore\"/s/q
echo Directories have been prepared
echo Please select "f" for "folder".
echo Press any key to continue
pause
xcopy "N:\Sales_CAD\01_vs library\01_library_assets" "%userprofile%\Documents\Factory Library"/E
xcopy "N:\Sales_CAD\01_vs library\02_connector_classes" "%userprofile%\Documents\FactoryCloudLibrary\ConnectorClasses"/E
xcopy "N:\Sales_CAD\01_vs library\03_templates" "C:\Users\Public\Documents\Autodesk\Inventor 2014\Templates\viastore"/E
echo Asset library has been copied
pause
Hope this helps
Kind regards
Daniel
Thank you for the feedback, but the question is how to know if the assets used in your drawing is up to date and not the library.
For us the library is a common directory on server.
Ah, okay....
I think this is not that easy then. You could compare the checksums of your assets in the asset folder with your librarys contents.
This works, but it hardly qualifies for what I´d consider an easy workflow.
Might honestly not be feasible at all, yet it would work. After identifying the updated objects you could replace all the occurences
in your FDS layout in the "component" menue selecting "replace all".
Kind regards
Daniel