AeccApplication from LISP
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
AeccApplication from LISP

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
mgrigoriev
Guest





Posted: Sat Mar 26, 2005 12:16 am    Post subject: AeccApplication from LISP Reply with quote

Hi,

Is there a way to get AeccApplication from LISP, not the Application?
Like instead of

(setq acadapp (vlax-get-acad-object))

Something like:
(setq acadapp (vlax-get-aec-object))

Thanks,
Mike

Back to top
juno
Guest





Posted: Sat Mar 26, 2005 3:05 am    Post subject: Re: AeccApplication from LISP Reply with quote

you can use SendCommnd
Back to top
Frank Oquendo
Guest





Posted: Sat Mar 26, 2005 3:14 am    Post subject: Re: AeccApplication from LISP Reply with quote

mgrigoriev wrote:

Quote:
Is there a way to get AeccApplication from LISP, not the Application?

Just like you would in VBA: GetInterfaceObject.

Back to top
mgrigoriev
Guest





Posted: Sat Mar 26, 2005 3:23 am    Post subject: Re: AeccApplication from LISP Reply with quote

Sorry, I didn't explain it well. I have a DLL that uses LD3 objects, AeccApplication. I need to send AeccApplication as a parameter to the DLL from LISP. Here's what I do for regular AutoCAD:

(defun c:drn()
(vl-load-com)
(setq acadapp (vlax-get-acad-object))
(setq obj (vlax-invoke-method acadapp 'GetInterfaceObject "Common.Drn"))
(vlax-invoke obj 'drn acadapp)
)
Back to top
mgrigoriev
Guest





Posted: Wed Mar 30, 2005 12:15 am    Post subject: Re: AeccApplication from LISP Reply with quote

Thanks, Frank. That should work.
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA 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