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

Can you suppress warning messages when creating CGM files?

SOLVED
TimSharp
Regular Member

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Can you suppress warning messages when creating CGM files?

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

Re: Can you suppress warning messages when creating CGM files?

Could you post a sample Iso file?

Re: Can you suppress warning messages when creating CGM files?

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)".

Re: Can you suppress warning messages when creating CGM files?

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

Re: Can you suppress warning messages when creating CGM files?

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

Announcements