| Author |
Message |
mgrigoriev
Guest
|
Posted:
Sat Mar 26, 2005 12:16 am Post subject:
AeccApplication from LISP |
|
|
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 |
|
|
| you can use SendCommnd |
|
| Back to top |
|
 |
Frank Oquendo
Guest
|
Posted:
Sat Mar 26, 2005 3:14 am Post subject:
Re: AeccApplication from LISP |
|
|
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 |
|
|
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 |
|
|
| Thanks, Frank. That should work. |
|
| Back to top |
|
 |
|
|
|
|