The easy answer might be to build the lisp list using "(Setq VerLst (cons "
+ Pt + " VerList))" assuming Pt is a string then call SendString for each
point, you might want to sent a "(Setq VerLst (reverse VerLst))" at the end
to get back in order.
Or use the undocumented VL.Application.16 (do Google search for that one).
Or search new group subjects for Calling DLL from Lisp
wrote in message news:firstname.lastname@example.org...
I am using VB.Net and ObjectARX. Now I have written a function which gives
the vertices of selected entity in a messagebox.. Now I want to have this
list be stored in AutoCAD. How could I do this ?
I tried following but failed because there is a limitation of 256
characters, I think.
I can only assume that you are setting a lisp variable because you want to
mix old lisp code with new .Net code.
The Calling DLL from Lisp is probably the best method to do this, as you can
call methods and set/get properties from the vlisp environment. I.E. you
can call a method to draw a polyline in .net and then return the entity
handle. I have not taken this ant further than trying the example posted by
Tony Tanzillo. but from what I can see it should be possible.
If this is so than the best way would be to wrote in message news:email@example.com...
Thanks Laurence !
I used cons and my proble is solved now. But I think this is not a good
manner to do this. Is there any direct method to do this ?
I searched VL.Application.16 on google but couldn't find something