Regen in VLisp
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Regen in VLisp

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
Marcel Goulet
Guest





Posted: Mon Dec 20, 2004 11:15 pm    Post subject: Regen in VLisp Reply with quote

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.

Back to top
R. Robert Bell
Guest





Posted: Mon Dec 20, 2004 11:22 pm    Post subject: Re: Regen in VLisp Reply with quote

Yes. Look at the Drawing object in the Object Model.

--
R. Robert Bell


"Marcel Goulet" <nospam@address.withheld> wrote in message
news:17406908.1103566552670.JavaMail.jive@jiveforum1.autodesk.com...
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.
Back to top
BillZ
Guest





Posted: Mon Dec 20, 2004 11:25 pm    Post subject: Re: Regen in VLisp Reply with quote

(vla-Regen activedoc acAllViewports)


or acActiveViewport


Bill

Back to top
Jürg Menzi
Guest





Posted: Mon Dec 20, 2004 11:32 pm    Post subject: Re: Regen in VLisp Reply with quote

Marcel

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

Cheers
--
Juerg Menzi
MENZI ENGINEERING GmbH, Switzerland
http://www.menziengineering.ch
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB