Display full version of the post: fArea, inserting a blank space for "string suffix"
Hi! I just started to use fArea, which is great! Thank you!my problem:i am using zwCAD (an autocad clone), and the fArea works just fine.anyway, if I am trying to enter a "string suffix" that has an empty space inside, it does not work. The empty space is perceived as an "enter" command, so the "string suffix" becomes an empty string, and the routine of fArea is asking for the next step.I tried to paste the "empty space" into the text window (at the prompt) but it does not work either.Is it a general problem, or just in my zwCAD?How can I get the routing fArea to put an empty space? In fact, I would just need it to create someting like this: 10,00 m²but for this, I need to put an empty space in front of m², and this does not work... I always get it without the empty space between the number and the "m²":10,00m²your help would be appreciated!thank you!
horia2015-07-15 13:01:39
Vladimir Michl
15.07.2015, 13:13
Our add-on tools are tested only in AutoCAD, not in all AutoCAD clones. There is an updated version of fArea for download and it supports spaces on the "suffix" prompt. But you can also use the AutoLISP variable to preset the suffix (see Readme): (setq _FAREASUFFIX " mm2") Regards
Thank you for your very fast response! The setq command worked great.For those who don't know anything about lisp: I found (also in your forum) how to use it:at the command prompt of the CAD software, just entered:(setq _FAREASUFFIX " m²")and this brought later, when using "fArea", the right area field:10,00 m² (with a space in between number and the square meter symbol)
additional question:are these lisp variables, as soon as I changed them, stored forever in the farea software settings, or do I need to re-set them each time I start the CAD program, or each time I load the FAREA routine? (I set up the fArea routine to be loaded each time my zwCad starts)thank you!