Print Page | Close Window

Modify fAREA

Printed From: CAD Forum
Category: EN
Forum Name: ARKANCE (CAD Studio) applications
Forum Description: Questions and discussion about applications by ARKANCE and Be.Smart - RevitTools (T4R), X-Tools (T4I), Civil Tools, DWGtext, GeoRefImg, XLSparam, FLAY, Furniture, LT Extension,...
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13063
Printed Date: 30.Apr.2026 at 03:05


Topic: Modify fAREA
Posted By: yavo7789
Subject: Modify fAREA
Date Posted: 14.Jan.2019 at 10:34
Greetings,

would someone be so kind to tell me how to edit the fAREA .vlx lisp?
I don't have any experience with Visual Lisp. The Read Me file says:

You can predefine these parameters with the following LISP
variables (set before you start the command):

LISP variables:
_FAREAPREC (default: LUPREC) - e.g.:
(setq _FAREAPREC 2)
_FAREAFACTOR (default 1.0) - e.g.:
(setq _FAREAFACTOR 0.001)
_FAREASUFFIX (default " m2") - e.g.:
(setq _FAREASUFFIX " mm2")
_FLENGTHPREC (default LUPREC) - e.g.:
(setq _FLENGTHPREC 2)
_FLENGTHFACTOR (default 1.0) - e.g.:
(setq _FLENGTHFACTOR 100.0)
_FLENGTHSUFFIX (default " m") - e.g.:
(setq _FLENGTHSUFFIX " km")
_FPROP (default "Linetype") - e.g.:
(setq _FPROP "Material")
_fAreaSameLayer (default nil; change label layer to object's):
(setq _fAreaSameLayer T)
_FAREADS (default: system decimal separator) - e.g.:
(setq _FAREADS ",")

How do I do that? Could you please send me some screen shots on how it is done or post a link to where it is explained in detail? Thank you in advance!

Kind Regards



Replies:
Posted By: Vladimir Michl
Date Posted: 14.Jan.2019 at 11:50
Hello,
you cannot edit the VLX file but you can use the mentioned commands to customize this application. It is simple - just copy (or retype) the LISP commands to your AutoCAD command line.
 
E.g. to set a 6-digits precision for fArea output, type:
 
(setq _FAREAPREC 6)
 
If you want to set it permanently, add this line to your ACADDOC.LSP file (or create new if it does not exist in your AutoCAD support path).


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: yavo7789
Date Posted: 19.Jan.2019 at 19:55
Good evening Vladimir,

first of all thank you for the fast response. I was able to create my own acaddoc.lsp and setup fAREA as you advised. The only issue I ran into was setting up a unicode character E.g: (setq _FAREASUFFIX " ?") where ? is a cyrillic small letter m. It appears AutoCad loads only ANSI encoded .lsp files. When i setup "?" as suffix within AutoCad it works, the fAREA.vlx seems to support UNICODE characters. I also tried to work around with subscripted Capital latin letter M, but Notepad and Visual Lisp don't support subscripts as well as unicode cyrilic characters. Is there any way I can set up fAREA permanently to dysplay " ?" as suffix? Thank you in advance!


Cheers




Print Page | Close Window