Passing values from VBA to autolisp variables
Hi all.
Is this possible in bricscad VBA ?
I know how to set UserR1 etc . but is it possible to pass a value from a VBA programm to a global variable in Lisp?
0
Comments
-
Hi gvoulg,
In VB .NET there are 2 Functions to get and set Values of Autolisp Variables (to pass values from VB to Autolisp variables) !
SET (pass the value from VB to Autolisp)
void Bricscad.Global.Editor.SetLispSymbol (string lispVar, ResultBuffer val)GET the value from Autolisp to VB
ResultBuffer Bricscad.Global.Editor.GetLispSymbol (string lispVar)Have a look for VBA at
https://forums.autodesk.com/t5/visual-basic-customization/want-to-pass-variables-between-vba-amp-autolisp/td-p/332995
I hope this helpsKonstantin
0