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.

TurboCad Deluxe Count Question

Started by hmpelectrical, January 21, 2016, 03:07:09 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

hmpelectrical

Hello, I'm new to the forum. I recently purchased TurboCad Deluxe 2D/3D.

I work for a electrical contractor and we do a take off for the lights. (We basically count all the lights on the electrical plan for pricing)

A client has given us a DWG file to price all the lighting. However the plan looks to be an flattened image. I cant single out any element on the plan.

Is there a way around that?

Also, is there a way I can count all single elements such as lights without having to print and count manually?

Alvin Gregorio

Quote from: hmpelectrical on January 21, 2016, 03:07:09 PM
Hello, I'm new to the forum. I recently purchased TurboCad Deluxe 2D/3D.

I work for a electrical contractor and we do a take off for the lights. (We basically count all the lights on the electrical plan for pricing)

A client has given us a DWG file to price all the lighting. However the plan looks to be an flattened image. I cant single out any element on the plan.

Is there a way around that?

Also, is there a way I can count all single elements such as lights without having to print and count manually?

The lights are likely on their own Layer-- hopefully.  Or maybe on a Layer with a few other electrical items.
Do you know how to work with Layers?

Upload/attach the .dwg file to a Reply Post, and we'll walk you right through the steps, including telling you how many of each type of light there is.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

hmpelectrical

Hi Alvin,

Thank you for the kind offer. I have attached one of the DWG files. The lights (DL1, E1, EF1 etc) are on their own layer (E-Lite-EQPM -1) They are distinguished by their brown colour.

If you can tell me a way to "count" the lights without manually doing it, will be awesome! It's a massive job.


Alvin Gregorio

Quote from: hmpelectrical on January 21, 2016, 05:56:40 PM
Hi Alvin,

Thank you for the kind offer. I have attached one of the DWG files. The lights (DL1, E1, EF1 etc) are on their own layer (E-Lite-EQPM -1) They are distinguished by their brown colour.

If you can tell me a way to "count" the lights without manually doing it, will be awesome! It's a massive job.

When I open your .dwg file in my version-20, the lights are "Exploded" (a TurboCAD term; may be an AutoCAD term as well, I don't know) into a bunch of lines.
That's going to make a quick/easy enumeration of quantity very cumbersome and difficult.
I expected the lights to be Blocks.  I do see a bunch of Blocks in the Blocks Palette.
Any idea how these lights got Exploded into a bunch of lines?  Are you-- or anyone else-- encountering the same thing in version-2015?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

hmpelectrical

The file was a DWL when we got it from the client. I had to convert it to a DWG in order to post here. Would that have done anything to the format?

Alvin Gregorio

Quote from: hmpelectrical on January 21, 2016, 06:36:58 PM
The file was a DWL when we got it from the client. I had to convert it to a DWG in order to post here. Would that have done anything to the format?

.dwl is the file (extension) type that locks a  drawing file (.dwg) so that two or more people can't access it to edit it at the same time.

TurboCAD-- in recent versions-- does/has the same thing.

If they did indeed send to you a .dwl file, I would assume they sent you the wrong file.  I would think that they unintentionally/accidentally sent you the .dwl instead of the .dwg.

But I really don't know enough about how all this works that it is even possible to open a .dwl file and have it have some contents.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

hmpelectrical

I have attached the raw DWG. Do you get the same result?

Alvin Gregorio

Quote from: hmpelectrical on January 21, 2016, 06:57:46 PM
I have attached the raw DWG. Do you get the same result?

20140014-EL-218_DWG.dwg

I opened your last-posted .dwg in my version-20 TurboCAD.
Again, all the lights are Exploded into their most basic elements-- lines and circles.  Can't do much good with that-- as far as easily counting lights goes.

Might have to wait until someone with version-2015* comes along; preferably someone with AutoCAD as well.  To see if they encounter the same thing.

Are the lights Exploded into lines and circles when you select them?  (Open the Selection Info Palette, and try to select a light symbol.  See what the Selection Info Palette reports the Object as being.)

___________
*I assume you purchased version-2015 Deluxe. Did you?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

hmpelectrical

#8
Attached is what they look like when I isolate the layer. I think I bought the 2015 version, I bought it about a year ago.

John R

I looked at the "20140014-EL-218_DWG(B).dwg" file in DWG TrueView and everything is Lines-n-Arcs when it comes to lights. There are about 800+ Block insertions in the drawing and a grocery list in the Blocks palette, but nothing looks to be actually related to "Lights" in there. I can't believe they put in all those lights as lines and arcs, while the rest of the drawing is made up of Blocks.
John R.

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

nikkipollard

I opened the drawing in draftsite and the lights aren't blocks there either.
They probably were never drawn as blocks. - a lot of people draw like that.
I think you are going to have to do this the hard way. Unless you have the time to replace all the lights with a block.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

hmpelectrical

I told my boss who believes the plan I posted may be different than other companies. I have attached a different company's lighting plan we have to price. Are you getting the same result?

hmpelectrical

Quote from: nikkipollard on January 21, 2016, 07:55:00 PM
I opened the drawing in draftsite and the lights aren't blocks there either.
They probably were never drawn as blocks. - a lot of people draw like that.
I think you are going to have to do this the hard way. Unless you have the time to replace all the lights with a block.

Is that easy to do? I'm a beginner to Turbocad.

murray dickinson

You'll probably have to exploding the blocks in the dwg and compare the results to find the types of lights that the exploded symbols refer to, but select by query will do the count - maybe.  For example, I used the query SELECTION AND 'Object type'='Circle' AND 'Area'='31415.9625 in' and found that there are 192 or so of whatever light that represents.  BUT there's a caveat.  That query worked for me in V17 Pro and V21 Pro 64-bit, but not in 2015 Pro 64-bit, which got confused to the point of choking.  Looks like a bug has been introduced into 2015, which is a disappointment, but you've nothing to lose by trying it in your version. 

Torfinn

#14
You dont need to use Query, i downloaded the 4665_e03-016_L2BL-a.dwg and select one light, go to Design Director and click "Select By", it selected 112 Blocks, that get higlighted go to Selection Info and look at the bottom of the palette, 112 of 9321 selected. all of them seems to be the same light and they have numbers
This is in 2015 pro platinum, 64 bit

Torfinn

Edit:
Switced machine and open DL 2015, 64 bit, win 7, same procedure, same result 112 of 9321 selected.
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Torfinn

Yes in Pro Platinum it work, i made it in the database Query and copy that to Select by Query and it find the object i was asking for

SELECTION AND '[Block insertion]Block'='SPRBN'

DL do not have Select by Query ( i believe )

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Dean

Murray,
Try this query for circles >248 selected
"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

John R

Quote from: Torfinn on January 22, 2016, 04:08:37 AM
Yes in Pro Platinum it work, i made it in the database Query and copy that to Select by Query and it find the object i was asking for

SELECTION AND '[Block insertion]Block'='SPRBN'

DL do not have Select by Query ( i believe )

Torfinn

You are correct Torfinn, "Select by Query" is only available in the Professional editions.
John R.

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

murray dickinson

I'm going to reinstall 2015 and try again, query is not working like it does in earlier versions on this machine.