How to Surpress Topo Warnings?

I'm dumping geometry using maxscript, which collects data from various modifiers.

when the script accesses the various modifiers in each node's stack I keep getting these pesky topo warnings about accessing modifiers in the stack.
I understand that the prompt lets you ignore future warnings. But I'm looking for another solution, as it seems a bit unprofessional to instruct people to edit there warning options. :\

I found a simular case here, although the actual issue was never solved:
http://forums.cgsociety.org/archive/index.php/t-831134.html

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Garp's picture

Far from ideal but...

... it seems to do the job.

DialogMonitorOPS.unRegisterNotification id:#silentStack
 
fn closePopup = 
(
  WindowHandle = DialogMonitorOPS.GetWindowHandle()
  if UIAccessor.GetWindowText WindowHandle == "Warning" do
  (
    ChildHandle = UIAccessor.GetFirstChildWindow WindowHandle
    ChildHandle = UIAccessor.GetNextWindow ChildHandle
    UIAccessor.PressButton ChildHandle
  )
  true
)
DialogMonitorOPS.RegisterNotification closePopup id:#silentStack
 
      <YOUR STUFF HERE>
 
DialogMonitorOPS.unRegisterNotification id:#silentStack
mariokart64n's picture

awesome, thank you

awesome, thank you

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.