Project.RunExternalQuery method

AutoCAD Map 3D ActiveX

Project.RunExternalQuery method

Loads an external query; if it's an auto-execute query, it runs.

RunExternalQuery(PathToExternalQuery As String) As Boolean

Returns False if the query was not found or did not run.

PathToExternalQuery

Alias path and file name of the external query.

The query runs when it is loaded if was saved as an auto-execute query. To save an auto-execute query, include the ESaveQueryOptions constant, kAutoExecute, in the SaveOptions argument when you call Query.Save.