TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: notredave on August 14, 2017, 09:27:44 AM

Title: Size of text is slightly off when MB.LSP is used
Post by: notredave on August 14, 2017, 09:27:44 AM
Good morning all,

And a special good morning to Ronjonp and LeeMac. I am using MB.lsp (attached) to match attributed blocks. I have my unit settings to decimal so the difference is displayed. On the drawing attached, if you use block on the left as source block and click on the blocks on right to match, text size is listed at 47.99999999999998 instead of 48. Other than this, this lisp routine works like a charm. Can someone please look at the code and see why it isn't matching text size exactly?

Thank you in advance,
David
Title: Re: Size of text is slightly off when MB.LSP is used
Post by: ChrisCarlson on August 14, 2017, 09:36:58 AM
There is something wrong with that block instance, inserting a new block and running the commands results in correct scaling.