News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

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.

Search for Block attribute value by Query

Started by mattyb, January 05, 2017, 12:04:23 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

mattyb

Happy New Year Turbocaders!
Has anyone had any success searching for Text values that form Block Attribute values?

I have a File exported in DXF format from a Survey Programme. This contains 3D points, that have associated Codes that are Blocked with each 3d point so that the 2 do not become divorced from each other.

In the attached, I might want to search for Code ‘P5304’ and so have the following in the Custom search query, but nothing is selected when this is executed:
For example a Code is P5304.
I have tried:
'[Text|Attribute definition|Attribute]Attribute Value'='P5304'
'[Text|Attribute definition|Attribute]Attribute Value'='”P5304”'
'[Text|Attribute definition|Attribute]Attribute Value'=P5304
'[Text|Attribute definition|Attribute]Attribute Value'=”&'P5304'&”

Anyone any ideas - am happy to post the file if anyone wants to have a play!

thanks

Turbocad 2016 V23 Build 24.1

Henry Hubich


mattyb

Thanks Henry.
File Attached. Kevan C has subsequently drawn my attention to the Wiki help on custom queries which advises:
"NOTE: Query will not select individual objects that are members of groups or blocks.", so this may be a dead duck. Kevan is also having a look at this - so don't spend any time that you could need to use elsewhere!

Henry Hubich

Quote from: mattyb on January 06, 2017, 12:02:42 AM
Thanks Henry.
File Attached. Kevan C has subsequently drawn my attention to the Wiki help on custom queries which advises:
"NOTE: Query will not select individual objects that are members of groups or blocks.", so this may be a dead duck. Kevan is also having a look at this - so don't spend any time that you could need to use elsewhere!

OK. Kevan is a lot more knowledgeable about this kind of stuff than I am. I'd just be groping blindly.

Henry H