VS:DBDiagnose

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Tests ODBC connectivity and creates log file in application folder. Returns true if succeeded.

First it opens a dialog "Database Connection" dialog. Choose a data source from the popup.

FUNCTION DBDiagnose : BOOLEAN;
def vs.DBDiagnose():
    return BOOLEAN

Example

VectorScript

PROCEDURE Test;
VAR
	isOK : BOOLEAN;
BEGIN
	isOK := DBDiagnose;
END;

RUN(Test);

Python

import vs
def Test():
	vs.DBDiagnose()

Test()

Version

Availability: from Vectorworks 2015
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox