Gets value of system valiable on AutoCAD LT LTCustomizer21 for AutoCAD LT reference manual
ActiveX
Function getvar(var_name As String, read_only As Boolean) As String
C/C++
int WINAPI LTC_getvar(const wchar_t *var_name,BOOL read_only,BSTR* result1);
parameter
var_name:System variable name
read_only:If read only variable, set True(or TRUE)
result1 (C/C++ only): Value of system variable
return value
ActiveX:Value of system variable
C/C++:1: success 0: failure
getvar() takes value of AutoCAD LT system variable. This function reads on AutoCAD LT command line. So this function does not support All system variable.