I am attempting to find a quick method for calculating area between two enclosed polylines, similar to that of a ring or donut
Utilizing the hatch command outputs a filled object that can then be utilized to find this; however, I need a command or lisp routine that allows me to calculate the area between these objects.
Solved! Go to Solution.
Solved by Kent1Cooper. Go to Solution.
Just one question: Why is the way via hatch not good enough?
I mean, you can create a hatch between polyline1 and polyline2, like the donut..
The area from this hatch is what you need.
The other question is: What do you want with this Information?
I guess the words pen and paper are not part of your answer, or?
Just prompting the value?
Add as Text? Fix or linked?*
*Another way is to use a Field /Formular,
Arwa Pline1 - Area Pline2 = Your Area..
Sebastian
Can you just use the AREA command? Note its options, Add the outer one, then Subtract the inner one.
@Kent1Cooper wrote:
Can you just use the AREA command? Note its options, Add the outer one, then Subtract the inner one.
To illustrate:
Command: AREA
Specify first corner point or [Object/Add area/Subtract area] <Object>: A
Specify first corner point or [Object/Subtract area]: O
(ADD mode) Select objects: {pick outer one}
Area = 3521.979 square in. (24.45819 square ft.), Circumference = 17'-6 97/256"
Total area = 3521.979 square in. (24.45819 square ft.)
(ADD mode) Select objects: {Enter to get out of ADD mode}
Area = 3521.979 square in. (24.45819 square ft.), Circumference = 17'-6 97/256"
Total area = 3521.979 square in. (24.45819 square ft.)
Specify first corner point or [Object/Subtract area]: S
Specify first corner point or [Object/Add area]: O
(SUBTRACT mode) Select objects: {pick inner one}
Area = 889.203 square in. (6.17502 square ft.), Circumference = 8'-9 181/256"
Total area = 2632.777 square in. (18.28317 square ft.)
(SUBTRACT mode) Select objects: {Enter to get out of SUBTRACT mode}
Area = 889.203 square in. (6.17502 square ft.), Circumference = 8'-9 181/256"
Total area = 2632.777 square in. (18.28317 square ft.)
Specify first corner point or [Object/Add area]: {Enter to finish command}
Total area = 2632.777 square in. (18.28317 square ft.)
[It looks more involved than it really is, just because it reports the areas and circumferences and total so far at every step along the way.]
The area command does function to this end; however, I was hoping that there was a command or LISP that was able to automatically detect boundaries in an enclosed polyline (similar to hatch) and output quantities.
Ultimately, I want a command that automatically detects boundaries like Hatch with no visual, strictly quantity outputs in predetermined units (m2, ft2, ac, etc.).
You can try massprop command but first you must turn the shape to region by boundary command
I do not have a lisp that will do this, but instead use regions for area takeoff's as I'm not a fan of the area command. It doesn't give visual feedback and it's pretty easy to miss a selection or select in reverse. Regions have the benefit of being one object, can be shaded.
In @insmuratturnapost, they mentioned the mass prop command to get area from a region. The area of a region is also available in the properties palette and through quickproperties. You can convert the circles to regions and then subtract the inner circle from the outer circle.
If your looking for multiple area types or a quantity take off then I would make a data extraction file.
Can't find what you're looking for? Ask the community or share your knowledge.