Monday, October 19, 2009

AecAnnoScheduleTagAdd and AutoLISP

Here is a solution I wanted to share on how to use AecAnnoScheduleTagAdd in AutoLISP.

The thing is that it's a point that the command expects.
"Expects a point or Symbol/Leader/Dimstyle/Edit/Constrain"

To get a point on the selected object you can use (cdr (assoc 10 (entget(entlast))))

(command "._AecAnnoScheduleTagAdd"
  "C:/mypath/Schedule Tables (Metric).dwg"
  (cdr (assoc 10 (entget(entlast))))

No comments:

Post a Comment

Subscribe to the comments feed

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Subscribe to this blog
JTB World's website | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.