
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
FileAccessEvents.OnFileResolution not called when part not relative to assembly,
is there something i am doing wrong?
Reason i need this is that we are opening file from another system and then downloading the files into a cache folder based on part resolution.
Situation 1, works as expected:
step 1. i create assembly file: C:\Users\<USER>\Desktop\inventor\Assembly1.iam
step 2. i create a part file: C:\Users\<USER>\Desktop\inventor\parts\Part1.ipt
step 3. i add part to assembly
step 4. i close all files and inventor
step 5. i delete part
step 6. i open inventor and load assembly.
step 7. FileAccessEvents.OnFileResolution called as expected.
Situation 2, does NOT work as expected:
step 1. i create assembly file: C:\Users\<user<\Desktop\inventor\Assembly1.iam
step 2. i create a part file: C:\parts\Part1.ipt
step 3. i add part to assembly
step 4. i close all files and inventor
step 5. i delete part
step 6. i open inventor and load assembly.
step 7. FileAccessEvents.OnFileResolution is not called. Nothing is called. Just the dialog is shown.
Also at first I couldnt get FileAccessEvents to fire at all? are FileAccessEvents somehow related to ActiveDocument? And is there a documentation on this somewhere?
Solved! Go to Solution.