Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

REGEN inside a Reactor

2 REPLIES 2
Reply
Message 1 of 3
scot-65
380 Views, 2 Replies

REGEN inside a Reactor

Trying to design a reactor that will set proper environment based on CTAB name.

One setting is LTSCALE. The command ended event (LAYOUT_CONTROL) will tell

me the tab name but a regen is required after setting LTSCALE.

 

How do I regenerate the drawing while in a reactor?

 

If not, then how can I determine the new CTAB name for a/any reactor "will start" event?

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Tags (1)
2 REPLIES 2
Message 2 of 3
alanjt_
in reply to: scot-65

(vla-regen (vla-get-activedocument (vlax-get-acad-object)) acActiveViewport)
or
(vla-regen (vla-get-activedocument (vlax-get-acad-object)) acAllViewports)

Message 3 of 3
scot-65
in reply to: alanjt_

Thanks.

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost