Auto Cad 2000 Vba
Fri, 19 Feb 2010 22:28:36 +0000

Hallo
I am an experienced user of AutoLisp and i know the basics of VBA.
Please, if anyone could show me en example of how to use the syntax
"AutoCAD.Application.Preferences.property property" for using the getcfg command in vba.
I use:
ThisDrawing.SendCommand "(setvar ""USERS1"" (getcfg ""AppData/SDTOPO/ZLAYRENChooseEpex""))" & vbCr
but it does not work everytime because i use over 50 times in a row for several variables.
To ensure that it will allways work ok i need to use a command (similar to getcfg) within vba.
Thank you in advance.Hallo
I am an experienced user of AutoLisp and i know the basics of VBA.
Please, if anyone could show me en example of how to use the syntax
"AutoCAD.Application.Preferences.property property" for using the getcfg command in vba.
I use:
ThisDrawing.SendCommand "(setvar ""USERS1"" (getcfg ""AppData/SDTOPO/ZLAYRENChooseEpex""))" & vbCr
but it does not work everytime because i use over 50 times in a row for several variables.
To ensure that it will allways work ok i need to use a command (similar to getcfg) within vba.
Thank you in advance.



