Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lisp to read the value of VBA string data

1 REPLY 1
Reply
Message 1 of 2
mdhutchinson
204 Views, 1 Reply

Lisp to read the value of VBA string data

I have a VBA combo box selected text stored in a USERS5 variable for a running Lisp to pick up.

Is there a vlax exposed to lisp to get the string value directly from the VBA variable?
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: mdhutchinson

Hi,

No.

AFAIK all methods of exchanging variable values involve writing the data to
somewhere mutually accessible.

The main areas used for this purpose are:
1 The AutoCAD User variables
2 The Registry via the VBA SaveSetting and GetSettings commands which
save/read from the
"HKCU\Software\VB and VBA Program Settings" key
3 An external file

Other areas which could be used include AutoCAD features like Xdata,
Dictionaries, Block attributes, a text item, layer names etc. etc. None of
these appeal to me as either elegant or efficient, but they could used

I prefer the second method as it does not require I check and save any
values which some other program (inadvisably perhaps) may rely on.
The coding is simpler than via a file.

--

Laurie Comerford
CADApps
www.cadapps.com.au
www.civil3Dtools.com

wrote in message news:5503773@discussion.autodesk.com...
I have a VBA combo box selected text stored in a USERS5 variable for a
running Lisp to pick up.

Is there a vlax exposed to lisp to get the string value directly from the
VBA variable?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report