Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Valued Contributor
sam.cutbirth
Posts: 63
Registered: ‎10-18-2008
Message 1 of 4 (160 Views)

Labeling

160 Views, 3 Replies
07-11-2012 11:28 PM

I have a very nice, simple routine (attached) for labeling coordinates.  I'd like it to give me an option for metric.  Could anyone please modify this?  I'll buy you a nice lunch.

 

 

:}

*Expert Elite*
Hallex
Posts: 1,569
Registered: ‎10-08-2008
Message 2 of 4 (157 Views)

Re: Labeling

07-12-2012 12:01 AM in reply to: sam.cutbirth

Chqange this line:

 (setq px (rtos (car pntlist)) py (rtos (cadr pntlist))

on this one

 (setq px (rtos (car pntlist) 2 3) py (rtos (cadr pntlist)2 3)

where 3 is number of decimals,

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Valued Contributor
sam.cutbirth
Posts: 63
Registered: ‎10-18-2008
Message 3 of 4 (105 Views)

Re: Labeling

07-23-2012 10:14 AM in reply to: sam.cutbirth

Thank you!!

 

*Expert Elite*
Hallex
Posts: 1,569
Registered: ‎10-08-2008
Message 4 of 4 (103 Views)

Re: Labeling

07-23-2012 10:15 AM in reply to: sam.cutbirth

Gald if this helps

Cheers :smileyhappy:

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.