Add Occurence - Resolve File

Add Occurence - Resolve File

gopinathmY575P
Advocate Advocate
354 Views
1 Reply
Message 1 of 2

Add Occurence - Resolve File

gopinathmY575P
Advocate
Advocate

Hello Community,

 

I'm adding component in the assembly using vba Set oOcc1 = oAsmCompDef.Occurrences.Add(filePath, oMatrix), but it throws resolve file message. i need to skip/resolve this message/error automatically at the backend through vba. I'm attaching error image. 

0 Likes
Accepted solutions (1)
355 Views
1 Reply
Reply (1)
Message 2 of 2

FINET_Laurent
Advisor
Advisor
Accepted solution

Hello @gopinathmY575P,

 

You could mabye try to set the Inventor.Application property SilentOperation, like this :

ThisApplication.SilentOperation = True
' ... do your code stuff ...
ThisApplication.SilentOperation = False

 

Kind regards,

FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

0 Likes