Share

Turning off error and warning messages and locking graphic updates

Error and warning messages

PowerMill displays error and warning messages that you must respond to. For example, PowerMill displays an error message if you attempt to activate a toolpath that does not exist.

Normally you should avoid writing a macro that generates error or warning messages, but sometimes it is not possible. In such cases, you can suppress the messages using the following:

DIALOGS MESSAGE OFF

DIALOGS ERROR OFF

To turn the error and warning messages back on, type:

DIALOGS MESSAGE ON

DIALOGS ERROR ON

Graphics

When you run a macro, PowerMill updates the screen every time a change is made. If PowerMill updates the screen frequently, this amount of screen activity can look unpleasant. Use the following to instruct PowerMill not to update the screen while the commands are in progress and instead to update the screen (just the once) after the commands are complete.

GRAPHICS UNLOCK

GRAPHICS LOCK
Note: When a macro finishes, PowerMill restores the message and graphic settings to what they were before the macro started. This ensures the messages and graphics are not accidentally turned off permanently.

Was this information helpful?