News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

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.

blocks not used

Started by henry tideman, January 11, 2014, 04:00:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

henry tideman

How to identify blocks that are constructed but have no insertions?  I thought to use data-base report, but that seems to list only blocks that have 1 or more insertions.  A "hammer and tong" approach would be to show all layers, then do Query for every block.  But with over 100 blocks created, this would be labor intensive.  Or, could compare data-base list of block names against name list in Blocks panel, check each block name in both lists, leaving remainder.  Better way?
Pro Platinum 2016/23.2/61.2
Oregon, Illinois, USA

Marek

Hi Henry
I did it in such a way. Using my Ruby script "Blocks_import",  imports any simple drawing (dwg, tcw, dxf - for example "rectangle") to drawing and then in the Ruby Console, I can see all the blocks that are in the palette "Blocks". I copy it and paste  into Notepad + +  save to txt. Blocks that are used in drawing I read with the "Database Report"  and I save to xls, and then to txt. I use Total Commander, where is the tool "compare content files."
Unfortunately, the script is for TCP 20 and for TCP 18 is not working. You need to have a place to compare files, yet. If you want, send me your darwing on a personal email and a list of blocks, which you used and I can compare it to you.
Marek
Marek

TC Pro 2016, TC Pro 2018, TC Plat 2019,TC Plat 2020,TC Plat 2021,TC Plat 2022,TC Plat 2023,TC Plat 2024, TC Plat 2025
Laptop Asus i7 6500U, dual-core 2,50GHz, NVIDIA GeForce GTX 950M, RAM 12 GB, SSD 480GB
Windows 10 64 bit

Torfinn

It would not take more then a couple of min. to drag the 100 blocks to a free area in the drawing, use the database tool to make 2 report by SELECTION, export as txt or csv file and import them to excel, wrigth a command ho "drag" out the files that is different and place them in a new colon maybe.

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

henry tideman

Thank you Marek and Torfinn for your thought-full and help-full suggestions.  Torfinn's approach I could implement.

TC seems to be strong with modelling and rendering, but weak with bill of material tools.
Pro Platinum 2016/23.2/61.2
Oregon, Illinois, USA