News:

Please remember to do a search before you ask a question!

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Calculate Polygons?

Started by EnvCons, November 24, 2025, 12:02:28 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

EnvCons

Is there a way to either obtain or calculate the areas of multiple polygons in 2024 Pro that are on the same layer, other than selecting each one separately and writing them down and then summing them?
EnvCons
TurboCAD 2024 Pro 64-bit V31, Build 77.1, AlienWare Aurora R12 11th Gen Intel(R) Core(TM) i9-11900KF @3.50GHz, NVIDIA GeForce RTX 3080 ti, Windows 11 Pro

murray dickinson

Enclose them all in a border, note its area.  2D Boolean subtract the polylines from the border, the difference in the border area before and after is the polylines' collective area.

EnvCons

Can you be more specific in the exact order of operations.  I kept getting error messages that borders don't intersect.
EnvCons
TurboCAD 2024 Pro 64-bit V31, Build 77.1, AlienWare Aurora R12 11th Gen Intel(R) Core(TM) i9-11900KF @3.50GHz, NVIDIA GeForce RTX 3080 ti, Windows 11 Pro

Andy H

#3
Curious.  Does Pro have the macro recorder palette. I know its in platinum, and not in deluxe, but no idea about pro.

murray dickinson

Sorry, I'm wrong about TC being able to do that.  Area of hatch regions is unreliable too...

John R

Quote from: Andy H on November 24, 2025, 03:55:50 PMCurious.  Does Pro have the macro recorder palette. I know its in platinum, and not in deluxe, but no idea about pro.

Only available in TurboCAD Pro Platinum, in the 2025 version.

John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Andy H

Quote from: John R on November 25, 2025, 06:21:39 AMOnly available in TurboCAD Pro Platinum, in the 2025 version.

Thanks John.   

EnvCons.   Unfortunate, a macro would have been ideal in this scenario.  I guess if one had MSExcel one could use VBA in Excel to access TC.  Depends on how many objects,  probably wouldn't be worth the hassle of setting up the script in Excel, if not too many objects.  100+ objects it would probably be worth it.

Dean

Quote from: EnvCons on November 24, 2025, 12:02:28 PMIs there a way to either obtain or calculate the areas of multiple polygons in 2024 Pro that are on the same layer, other than selecting each one separately and writing them down and then summing them?

Hi, pro 2024 has the Database tool, I think this is just what you are looking for.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

EnvCons

Yes, I see the database tool.  I'll need to play with it and see how it works.  Thanks!
EnvCons
TurboCAD 2024 Pro 64-bit V31, Build 77.1, AlienWare Aurora R12 11th Gen Intel(R) Core(TM) i9-11900KF @3.50GHz, NVIDIA GeForce RTX 3080 ti, Windows 11 Pro

EnvCons

#9
But the real question is this - why, when selecting multiple closed polygons, does the metric tab disappear under the Selection Info tab?  Seems like it should be able give the areas of multiple polygons on the same layer.

I went through a tedious process with ChatGPT and it finally concluded it is a bug with the program.  It should allow multiple polylines created using irregular polylines which are truly closed and when selected to give a total area under Metrics.  However, even selecting only two separate ones it closes the Metrics tab.

Shouldn't have to create a database to simply show the area of multiple polylines.
EnvCons
TurboCAD 2024 Pro 64-bit V31, Build 77.1, AlienWare Aurora R12 11th Gen Intel(R) Core(TM) i9-11900KF @3.50GHz, NVIDIA GeForce RTX 3080 ti, Windows 11 Pro

Andy H

Quote from: EnvCons on November 25, 2025, 08:42:01 AMBut the real question is this - why, when selecting multiple closed polygons, does the metric tab disappear under the Selection Info tab?  Seems like it should be able give the areas of multiple polygons on the same layer.

I think only the programmers can answer that one.   But I can guess.  The 'Metrics' are object specific, as in they apply to just a single graphic.  example, vertices, perimeter and extents size to name just three.  None of these can apply to multiple graphics, as the result would be meaningless.   It was probably easier to just hide the metrics, rather than reprogram it so it would ignored all the other Metrics and just show result for Area.



murray dickinson

Hatching multiple discrete polygons gives inaccurate region area for the hatch polyline group, the same errors display when 2D polygons are Boolean added, contiguous or not.  Seems deeper than just unaddressed collation and addition/subtraction.   

Dean

#12
Quote from: EnvCons on November 25, 2025, 07:51:29 AMYes, I see the database tool.  I'll need to play with it and see how it works.  Thanks!

Hi, see attached video.
I created this in TC 2025 but it would be the same as in TC 2024 Pro.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

EnvCons

That looked pretty simple.  Thanks for the video!

Mike
EnvCons
TurboCAD 2024 Pro 64-bit V31, Build 77.1, AlienWare Aurora R12 11th Gen Intel(R) Core(TM) i9-11900KF @3.50GHz, NVIDIA GeForce RTX 3080 ti, Windows 11 Pro