Help with VLisp and Changing drawings

Discussion in 'AutoCAD' started by Vxc, Feb 22, 2005.

  1. Vxc

    Vxc Guest

    Hy !

    I'm trying to do some code that let me use the same lisp on several
    drawings.
    Per exemple I open 10 drawings, run on the first, change to the second
    drawing, runs agains the lisp etc...
    I have some dificulty programming with Vlisp i've been trying
    "vlax-get-acad-object" , "vlax-dump-object" , "vla-get-Documents" ,
    "vla-get-ActiveDocument".
    I could post my code, but the code isn't not even a program just some
    "experiment text" i've been writing.
    Does anyone can "nice & clear" explaine to me how to do this code ?

    Thanks in advance for all help possible !

    Vxc
     
    Vxc, Feb 22, 2005
    #1
  2. Vxc

    T.Willey Guest

    What are you wanting to do to the drawings? You might have to do it all in Vlisp. You can do something like
    (vlax-for Doc (vla-get-Documents (vlax-get-Acad-Object))
    <do stuff here>
    )

    Tim
     
    T.Willey, Feb 22, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.