Display full version of the post: LTFLY lisp
`ltfly ' VLX command notworking in Autocad Please help
Error :
Command:Command: ltfly
Enter the text (current style) to embed <ABC>:; error: no function definition: vlax-ename->vla-object
type this on the command line before executing, including parentheses:(vl-load-com)Vladmir, another code update in order :)
please explain (how to do)
The "ltfly" is missing a lisp command, but you can type it into AutoCAd on the command line, then run the routine.1. Load the lisp routine.2. type "(vl-load-com)"3. type "ltfly"
Vladimir Michl
21.01.2010, 08:33
What AutoCAD version are you using?
(vl-load-com) is of course included in the LTfly code.
Autocad 2006, 2009 and Civil 3D 2009
Vladimir Michl
21.01.2010, 08:54
And it doesn't work in either of them? Strange. At least the 2009 versions should work fine.
Just to be sure:You perform [CMD]APPLOAD[/CMD] of LTFLY.VLX, start LTFLY, enter "something" and it terminates with the error?
So, No hope ...........
Thanks very much for your advise and comments Shijo2010-01-21 11:44:41
Vladimir Michl
21.01.2010, 11:49
I can image only a single reason why this wouldn't work - a missing or damaged VL.ARX (a standard AutoCAD component). Please start APPLOAD and check the list of loaded applications. Is VL.ARX listed? If not, can you try to load it with the ARX command?
Please have a look ..........
i had used this commands in autocad
Command: apAPPLOAD vl.arx already loaded.
Command: ltflyUnknown command "LTFLY". Press F1 for help.
Command: apAPPLOAD ltfly.vlx successfully loaded.
Command:LTFLY command loaded. (C)2010, XANADU - www.xanadu.cz__ CAD, PLM, GIS/FM custom application development __Command:Command: ltfly
Enter the text (current style) to embed <ABC>: shijo; error: no function definition: vlax-ename->vla-object
Vladimir Michl
21.01.2010, 14:40
Giving up. And I thought I know LISP quite well...
It looks like that the VLisp ActiveX support is missing (VL.ARX, vl-load-com) but both are there in fact. What is the _VERNUM of your AutoCAD (type "_VERNUM")? Are any other add-on applications running?
If user enters a style name not in the drawing, could this error occur?
Vladimir Michl
21.01.2010, 18:49
No, LTfly just uses the current style. And the error message points clearly to a missing Lisp-ActiveX component.
One more thing - is the AutoCAD version running in a proper operating system? I mean - no twiddling with unsupported 32/64-bit combinations, no virtual machines, no Win95 boxes?