Enla (student)
説明
Enla, engineer's Length and Area add-in.
Select lines, polylines, circles or hatches in Autodesk® AutoCAD® and have their length and area values in a list. You can also select solids, and have their volume or centroid.
Basic use:
- select, copy, zoom
- check values, to find the object you need
- insert into drawing, as MText, Text or (dynamic) Block
- export to TXT, CSV, or JSON
And of that will cover most of your daily needs.
Advanced use
- use the formula field to evaluate values received from objects with your own custom math expressions
- insert as combined text, next to each object, or pick a location
- insert (dynamic) blocks, with attributes filled with the result of functions
- override block position to match results of math expression
- override dynamic block properties such as flip parameters or visibility to match the result of expressions
To evaluate objects, use standard math expressions in the formula tab with optional Enla variables, read directly from the selected object:
variable | description |
L | length |
A | area |
V | volume |
tag | custom text tag, saved to object in the drawing |
n | position of the object within list |
cc | incremental value, number of clicks on the cumulative button |
start | start point of line, polyline or similar |
end | end point |
center | center point of any object |
centroid | centroid point, if available |
or group variables (for applicable functions)
group variable | description |
Lt | total length of all objects |
Ls | length of objects selected in the list |
At | total area of all objects |
As | area of objects selected in the list |
Functions are standard math or logic functions, with the introduction of a few special
function name | description |
fx(n) |
group function returns an array of results of the previous function Important: to avoid circular definitions, all functions are calculated from top to bottom for each function in sequence |
x(), y(), z() | get a single value out of point (start, end...) |
val("any text") | evaluates text (useful for custom vars, since they are all text) |
text(num,"0#") | apply custom formating, using custom strings |
Examples:
sum(Lt) | sum of lengths of all objects |
average(As) | average area of objects selected in the list |
L * 100 / sum (Lt) | percentage of length in relation to the total length |
L > average (Lt) | 1 or 0, compare how individual L relates to the average length |
Important:
- if some function accepts two parameters, they must be separated properly with either; or, sign, depending on your preset windows settings.
- remember the order of calculations (top to bottom, then left to right)
- take care, double check results - it may be not what you need, or it may be wrong altogether
This add-in is the free version of Enla. You may use this add-in for a non-commercial purpose, or you should consider buying Enla.
Hello Ljubo!
I have been using your app for a long time. Unfortunately it does not work in version A2023.
Will an update be expected sometime?
thank you very much
when for cad2023?.........................................................................
Hi, thanks for your interest. I hope it will be soon, when I find the time needed. I apologize for not being already done.
Excellent
This add-on is very useful. I have looked up so many lisp, and-ons and those are not good as this one. Thank you so much about it. I just want to ask you a question about versions. I'm using student version right now. Is there any limitation student version according to full version.
Единственное, что хотелось бы добавить, чтоб можно было удалять лишний выбранный объект; а так же при отмене выделения объектов, значения площадей сохранялись в приложении (к примеру, если что-то требуется изменить на чертеже в процессе выбора объектов)?!
Thank you for your interest in ENLA. To my best undestanding of your question, I will say that ENLA will always follow active AutoCAD window selection. So, to deselect one object in a group of selected objects, click on the desired object in the main AutoCAD window (model space for example), while holding SHIFT key. Object will be removed from AutoCAD selection, and because of that - it will also disapear from ENLA window, unless it has "pin". If it has "pin", it will stay in list until you delete that object in the drawing itself, or until you remove that "pin". So, to be able to modify, select/deselect object and that this specific object is always shown in list - use "pin" on that object. Also, if you have more questions, you are welcome to use support e-mail. Thank you.
Все понял! Спасибо!
Simple but very helpfull app.