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")?
|
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")?
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)
yes, it appears to work the way i need it to, thanks