Regen in VLisp

Discussion in 'AutoCAD' started by Marcel Goulet, Dec 20, 2004.

  1. Hi,

    Is there a VLisp function that we can use as a regen?

    I want to do a regen in a reactor but reactor doesn't support commands.

    Thanks.
     
    Marcel Goulet, Dec 20, 2004
    #1
  2. Yes. Look at the Drawing object in the Object Model.

    --
    R. Robert Bell


    Hi,

    Is there a VLisp function that we can use as a regen?

    I want to do a regen in a reactor but reactor doesn't support commands.

    Thanks.
     
    R. Robert Bell, Dec 20, 2004
    #2
  3. Marcel Goulet

    BillZ Guest

    (vla-Regen activedoc acAllViewports)


    or acActiveViewport


    Bill
     
    BillZ, Dec 20, 2004
    #3
  4. Marcel Goulet

    Jürg Menzi Guest

    Marcel

    (vla-Regen (vla-get-ActiveDocument (vlax-get-acad-object)) acActiveViewport)
    or
    (vla-Regen (vla-get-ActiveDocument (vlax-get-acad-object)) acAllViewports)

    Cheers
     
    Jürg Menzi, Dec 20, 2004
    #4
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.