How to use VLAX Class (Visual LISP)

How to use VLAX Class (Visual LISP)

Anonymous
Not applicable
238 Views
1 Reply
Message 1 of 2

How to use VLAX Class (Visual LISP)

Anonymous
Not applicable
Hi,

I am trying to use the VLAX class. I need to send command to AutoCAD 2000 to
plot drawings. I use the following code. But it doesn't work. Any Idea?

By the way, I ran the (vl-load-com) before hand, and I wonder what function
I use in this case?

******************************************
Dim objVlax As New VLAX
Dim strCommand As String

strCommand = "(command ""plot"" ""n"" ""model"" """" """" ""n"" ""n""
""y"")"
objVlax.EvalLispExpression (strCommand)
***********************************************
0 Likes
239 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Al had this to say
:
> Any Idea?

You cannot execute the COMMAND function through VLAX. Use SendCommand
instead.

--
There are 10 kinds of people:
Those who understand binary and those who don't
http://www.acadx.com
0 Likes