All,
Good afternoon! I got a request from an admin to see if there is a way to restrict users from either saving or using data outside of the paths specified by the project file. I'm not away of an Inventor way to accomplish this and I'm guessing trying to limit this behavior in Windows would be difficult. Does anyone know of a way to accomplish this? Thanks in advance for any suggestions, hope all is well and have a most blessed day!
Peace,
Pete
Solved! Go to Solution.
Solved by JelteDeJong. Go to Solution.
It would be an easy fix if you would make a small addon. that lissents for the save event and then checks the save path.
that function would look something like this:
Private Function isSavePathInDesignDataPath(savePath As String) As Boolean Dim project As DesignProject = ThisApplication.DesignProjectManager.ActiveDesignProject If (savePath.StartsWith(project.DesignDataPath)) Then Return True Else Return False ' inform the user that they should not save outside the project and cancel the save. End If End Function
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
Can't find what you're looking for? Ask the community or share your knowledge.