Is there a way to use a VBA variable as an argument to SENDCOMMAND, much
like in LISP when you would do something like:
(command "view" "window" "as1" p1 p2)
The reason I am attempting this method is because I had read that you cannot
save a view in paperspace via VBA. Is that still true?
TIA,
Dave Zinn,
Ball Aerospace & Technologies Corp.
it is possible
ThisDrawing.SendCommand "_-insert" & vbCr & nom_bloc & vbCr & "_s" & vbCr &
point1xy & vbCr & point2 & vbCr & point1 & vbCr & point2 & vbCr
In this example, insert a block,
name = nom_bloc
scale define by point1xy and point2
Insert point = point1
Rotation define by point1 and point2
Bernard
ATC
45700 Villemandeur
Dave Zinn <dz...@ball.com> a écrit dans le message :
22D7918794E7A5A0...@in.WebX.SaUCah8kaAW...
' assuming p1 and p2 are points in VBA
Dim objVLAX As New VLAX
objVLAX.SetLispSymbol "p1", p1
objVLAX.SetLispSymbol "p2", p2
--
Tools you can use: get your free copy of ProPack
http://www.acadx.com
"Dave Zinn" <dz...@ball.com> wrote in message
news:22D7918794E7A5A0...@in.WebX.SaUCah8kaAW...