Message 1 of 2
How to use VLAX Class (Visual LISP)

Not applicable
11-24-2002
11:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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)
***********************************************
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)
***********************************************