Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

File Resolution does not appear for Files Selected via Custom File Open dialog

1 REPLY 1
Reply
Message 1 of 2
wgmdev
366 Views, 1 Reply

File Resolution does not appear for Files Selected via Custom File Open dialog

Following is my use case

I have a following dataset
where top level file is an assembly abcd.iam
this file refers a child part file pqrs.ipt

Structure is something like below
abcd.iam
|
|-->pqrs.ipt

Steps to reproduce
1) rename the pqrs.ipt file to xyz.ipt (externally via filesystem/windows explorer)
2) Launch Inventor (2011 or 2012 or 2013 or 2014)
3) Click File->Open
4) browse to the folder containing abcd.iam
5) select and open the file abcd.iam
6) Since pqrs.ipt is not found, Inventor presents with a File resolution dialog box (expected)
7) resolve/skip the file
😎 close the assembly abcd.iam
9) Now load the attached macro
10) execute procedure StartFileOpen
11) repeat steps 3-4-5
12) Inventor does not show the File resolution dialog box (ISSUE)

Expected result after Step 12 is
if file is resolved (event handled = true) then nothing should be shown
but if file is not resolved (event handled = false) then "FileResolve" Dialog should be shown


The above issue occurs only when we use Custom File Open dialog , and happens for all Inventor versions 2011, 12, 13, 14.

 

1 REPLY 1
Message 2 of 2
wgmdev
in reply to: wgmdev

Adding the correct VBA file

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report