MidLenV1-1 needed update

MidLenV1-1 needed update

jyan2000
Advocate Advocate
299 Views
2 Replies
Message 1 of 3

MidLenV1-1 needed update

jyan2000
Advocate
Advocate

Hello Forums, 

 

I've using this MidLenV1-1.lsp for long time.. I will need a minor adjustment with this lisp. 

Request: The Lisp gives a length ( Exp : 290.155) as set of ddunits. However I want it to be rounded to 290. Is it possible to ammend without changing ddunits setting ?

 

Best Regards 

Victor

 

0 Likes
Accepted solutions (1)
300 Views
2 Replies
Replies (2)
Message 2 of 3

ВeekeeCZ
Consultant
Consultant
Accepted solution

Go to the FIELD dialog, adjust the format as you need, then locate the fmt variable at the top of the code and change it.

 

BeekeeCZ_0-1678203000932.png

 

Explore, try, learn.

Message 3 of 3

jyan2000
Advocate
Advocate

(setq fmt "%lu2%pr0") ;; Field Formatting

 

Thats it.. Thank u very much for ur guide... 

 

Best regards

Victor

0 Likes