Inventor Customization

Reply
Mentor
matt_jlt
Posts: 218
Registered: ‎07-28-2007
Message 1 of 2 (229 Views)

VBA & iPart Update Prompt

229 Views, 1 Replies
07-12-2011 05:17 PM

I have a macro that changes the active material for each member of an ipart (this is done when i am editing the iparts).

My problem is that it constantly prompts that the table differs from the part and do I want to copy the information back to the table.

I want to stop this prompt and have it automatically set to "Yes". I can use the silent operation option but it defaults to "No" for some reason which makes the macro go to the next member without setting the material back into the table.

 

Any ideas?

 

Thanks, Matt.

Valued Contributor
pdauphin
Posts: 87
Registered: ‎03-27-2006
Message 2 of 2 (171 Views)

Re: VBA & iPart Update Prompt

04-26-2012 02:08 PM in reply to: matt_jlt

Hello,

 

Any solution to this anyone? I have the same problem here... Not exactly for the same reason but still. I'd like to "answer" that dialog box with a "Yes".

 

If I use "ThisApplication.SilentOperation = True", it defaults to "No".

 

Any help appreciated.

 

Thanks.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!