cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Can you suppress warning messages when creating CGM files?

TimSharp
12-Amethyst

Can you suppress warning messages when creating CGM files?

When we have finished or amended each of our Isodraw drawings, we export a CGM version of the file for use by our authors.

We never edit CGM versions of our drawings, they are just used as a convenient format to add to Word documents.

We've found through experience that an old version of CGM works best for us - "Model Profile (ISO 8632:1992/Am.1: 1994)".

But, because it is an old format, it pops up an error message saying it doesn't support things like callouts or object infos.

I have a macro that creates the CGM files and saves them in the right directory, but it always pops up the warning message. Is there a way to suppress the error message?

ACCEPTED SOLUTION

Accepted Solutions

You can switch off ALL dialogs (not only the warnings!) by

app.interaction = false

Please make sure to switch that on again by

app.interaction = true

after your export command, because the setting is not limited to the macro execution.

View solution in original post

4 REPLIES 4

Could you post a sample Iso file?

It happens with any Isodraw file that has callouts on it. It's because we're using an old CGM standard that it comes back with warning messages that there's "No support for callouts" or for several other newer features of Isodraw that are not supported by that standard.

The CGM files are fine for our purposes, I just want to suppress the warning message that pops up every time we create a CGM file.

We've tried using newer CGM standards, but they all cause problems with the version of Word we use, so we're stuck with the old one "Model Profile (ISO 8632:1992/Am.1: 1994)".

You can switch off ALL dialogs (not only the warnings!) by

app.interaction = false

Please make sure to switch that on again by

app.interaction = true

after your export command, because the setting is not limited to the macro execution.

Thanks, that works a treat. We've spent years having to click on the warning messages!

Announcements

Top Tags