See the top rated post in this thread. Click here

Results 1 to 3 of 3

Thread: regen without using command

  1. #1
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Iron Station, NC
    Posts
    3,198
    Login to Give a bone
    0

    Default regen without using command

    I have a program that is fired using a reactor, of course this means I cant use "command"
    anyone know how to regenerate the entire drawing without using (command ".regenall")?

  2. #2
    100 Club
    Join Date
    2006-11
    Location
    UTAH
    Posts
    135
    Login to Give a bone
    1

    Default Re: regen without using command

    Try this... This regenerates all viewports in the current drawing, including model space. Don't know what it'll do inside a reactor, but it doesn't use command. If you get more errors than usual, especially fatal errors, remove it.

    Code:
    (vla-regen (vla-get-activedocument (vlax-get-acad-object)) acAllViewports)

  3. #3
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Iron Station, NC
    Posts
    3,198
    Login to Give a bone
    0

    Default Re: regen without using command

    yes, it appears to work the way i need it to, thanks

Similar Threads

  1. Regen Elimination
    By Wish List System in forum Revit Architecture - Wish List
    Replies: 1
    Last Post: 2012-02-20, 08:52 PM
  2. VBA Regen
    By BeetleJuice in forum VBA/COM Interop
    Replies: 3
    Last Post: 2010-01-04, 07:33 PM
  3. Regen command and related commands appear to be slow
    By Haytham.Hamid in forum AutoCAD General
    Replies: 14
    Last Post: 2007-07-26, 11:36 AM
  4. Dynamic Block and Fields and using the Regen command
    By atwoodjason in forum Dynamic Blocks - Technical
    Replies: 8
    Last Post: 2007-02-16, 08:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •