TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Ron Heigh on September 10, 2004, 10:35:01 AM
-
I'm trying to use the acet-attsync function in a lisp routine, but it isn't a valid command. Once I use the ATTSYNC command in the drawing, the acet-attsync command becomes valid in my lisp routine?
Any ideas why this might be occuring?
-
I fixed it by adding this to my acad.lsp file.
(if (not acet-attsync) (command "attsync" "" (command)))
Stupid solution for a stupid problem.
:)
-
Try this :
(if (not Acet-Getvar) (vla-load AcetUtil.fas))
-
Thanks, but that didn't do it either.
I tracked the function to the BATTMAN.ARX file.
I added it to my startup suite and now all is good.
-
better yet.
(arxload "battman")