
Discussion forum
|

Please abide by the rules of this forum.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
|
Post Reply ![]() |
Author | |
yavo7789 ![]() Newbie ![]() Joined: 19.Nov.2010 Location: Germany Using: AutoCAD2010 Status: Offline Points: 7 |
![]() 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
Edited by yavo7789 - 14.Jan.2019 at 10:37 |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 1984 |
![]() |
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 Systems - arkance-systems.cz - Autodesk reseller |
|
![]() |
|
yavo7789 ![]() Newbie ![]() Joined: 19.Nov.2010 Location: Germany Using: AutoCAD2010 Status: Offline Points: 7 |
![]() |
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 Edited by yavo7789 - 19.Jan.2019 at 20:00 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,109 seconds.