TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Ron Heigh on September 10, 2004, 10:35:01 AM

Title: acet-attsync
Post 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?
Title: acet-attsync
Post by: Ron Heigh on September 10, 2004, 11:12:01 AM
I fixed it by adding this to my acad.lsp file.
Code: [Select]
(if (not acet-attsync) (command "attsync" "" (command)))
Stupid solution for a stupid problem.
:)
Title: acet-attsync
Post by: CAB on September 10, 2004, 11:28:22 AM
Try this :

Code: [Select]
(if (not Acet-Getvar) (vla-load AcetUtil.fas))
Title: acet-attsync
Post by: Ron Heigh on September 10, 2004, 05:10:33 PM
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.
Title: acet-attsync
Post by: Ron Heigh on September 10, 2004, 05:19:30 PM
better yet.

(arxload "battman")