Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 4
sam.cutbirth
240 Views, 3 Replies

Labeling

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.

 

 

:}

3 REPLIES 3
Message 2 of 4
Hallex
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
Message 3 of 4
sam.cutbirth
in reply to: sam.cutbirth

Thank you!!

 

Message 4 of 4
Hallex
in reply to: sam.cutbirth

Gald if this helps

Cheers Smiley Happy

_____________________________________
C6309D9E0751D165D0934D0621DFF27919

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost