Visual LISP, AutoLISP and General Customization

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

Labeling

157 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 (154 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 (102 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 (100 Views)

Re: Labeling

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

Gald if this helps

Cheers :smileyhappy:

_____________________________________
C6309D9E0751D165D0934D0621DFF27919

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community