Inventor 2020, Vault 2020
Project file is type Vault
Workspace is on the C: drive
After moving the location the "Design Data" from one network share to another.
Adding new sheet metal Punch Tool requires browsing to the new network location generating the following message, "The location of the selected file is not in the search path of the active project file" (see attached).
Tried the following
Edited the project file to point to the new path (Using UNC paths, see attached).
Added a library path to I-Features folder.
Editing the search path in Inventor solves the problem for new punches but I want to fix it in the project file.
I also want to schedule updates to the punch path for existing part files using VBA (see attached). Re-opening the file fails to update and shows same error message regardless of search path.
iFeatureTemplateDescriptor.DelayReplaceAll (pathToPunchDefinition)
Solved! Go to Solution.
Solved by ron_m. Go to Solution.
Thank you for your reply. But setting those paths only fixes new punch inserts and requires editing all installations. Updating existing inserts are NOT fixed. I need a solution in the project files.
That's how the program is setup and how iFeature look for files.
You can try changing path anywhere else but it won't work. As you have tried.
When your car ran out of gas, filling up windshield washer won't get it going.
There is a method to update the path using the API as demonstrated in the VBA code I attached. See link DelayReplaceAll to Autodesk documentation.
Anyway, I would like those ifeatures paths handled in the project file; even if the update method turns out to not work. Otherwise all existing users and all new users will need to edit Inventor settings or merge a configuration file for company wide settings.
I found a post from 02-15-2019 referencing the DelayReplaceAll method and the fact it only sets a flag. Apparently the method has not been updated. Autodesk needs to fix the method or update the documentation to say it only sets a flag.
Can't find what you're looking for? Ask the community or share your knowledge.