DisplayOleAlerts

Enables or disables OLE Server Busy/Not Responding dialog boxes from appearing during a lengthy OLE, or COM, operations. In detail, this function does the following:

Syntax

rhinoscriptsyntax.DisplayOleAlerts (enable)

rhinoscript.application.DisplayOleAlerts (enable)

Parameters

enable

Required.  Boolean.  Enable or disable the display of OLE alert dialog boxes.

Returns

None

If successful or on error.

Example

import System

import rhinoscriptsyntax as rs

rs.DisplayOleAlerts( False )

t = System.Type.GetTypeFromProgID("Excel.Application")

objExcel = System.Activator.CreateObject(t)

...

Also See

Reinitializing RhinoScript

Scripting Options