News:

When replying to a specific statement be sure to quote the previous post.

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.

Select by query options

Started by PCSteel, July 02, 2021, 07:31:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PCSteel

I have searched the new features list without success but I thought I would ask anyway. Has anything changed with "Select By Query" in the 2021 release. I'm hoping for the ability to search for ACIS solids with a certain volume or surface area. It doesn't seem like it would be a big deal but I'm no programmer.  :)
So please let me know if this ability exists in TC2021 or if there is another way to carry out this search.

Thanks, John.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

nikkipollard

No it doesn't look like it
There is an inquiry tool - This can calculate volume.
You can search by extents size - but I have no idea what that is or how it is calculated.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

PCSteel

Thanks Nikki, maybe the extents size would be enough to differentiate between the items. Maybe I should trial 2021.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

sauerkraut2018

Hello,

ACIS are stupid parts.

Look at the Selection Palette there are no dimensions. This means that this data cannot be queried.
Create a box or rectangle then look again in the selection palette.
With these parts you will find Area / Perimeter.

I hope I could help.
#-----
Very low knowledge of English - I ask for indulgence - Thanks
Currently installed
TurboCAD Professional 32-bit V.17.2.77.1
TurboCAD 2016 ProPlatinum 64-bit V23.2-61.2 engl.
TurboCAD 2021 Platinum 64-bit V28.0 B.82.3 de.
#-----

Andy H

Quote from: PCSteel on July 03, 2021, 01:22:37 AM
Thanks Nikki, maybe the extents size would be enough to differentiate between the items. Maybe I should trial 2021.


Don't rely on extents.  It is meaningless for finding an object.  Example.  A 100mm diam circle.  Radius (50) and circumference (314 etc) is easy to calculate,  but the extents (world bounding box) is 141.4214.  which is corner to corner of a rectangle surrounding the object.  And that's an easy example.  3d is much worse.   

PCSteel

#5
Thanks sauerkraut. I can get the volume/surface area from the 'Solid -state Physics' in the selection info. What I would like to do is use this data to find other solids in a model that are exactly the same. I know this is a very specific request but it seems to be a possibility because all the necessary data is available in the file. The models that I would like to be able to query are not created by me and therefore I have no information other than the supplied file. I'm sorry about the complicated reply, I'll try to upload a sample file which might help to show what I'm trying to achieve.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

PCSteel

Thanks Andy, yes I can see the limitations there.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

PCSteel

That may be exactly what I need Andy. Finding the truely identical objects among so many that look identical is the challenge here. These objects are scattered over a structure measuring 40m x 80m x 7m and are challenging to find with certainty. I'm away from the office for a week or so but will look at the 2021 trial when I return to see if select by similar will work for me. Thanks again.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

Andy H

#8
Sorry - I misread your current version.  So I deleted the post, to check if its in 2015 (its not).   

I'll post it below so others reading this know what your replying to.   

Deleted post - One thing that may work in 'Some' instances (it needs exact matches).  is select by similar.  The Shape option was brought in in 2019 (and is the same in 2021).

Select an object and Select by similar.  In the similar options choose shape.  From the help file - "The Shape filter compares geometry measurements such as Area, Perimeter, Volume, Surface Area, number of Vertices/Edges/Faces to determine if the two objects are the same"

Unfortunately, one cannot set a greater or less than value. so it only finds exact matches.  In your drawing, some pieces visually look identical, but have a slightly different volume, so it won't work in these instances, all the cylinder type objects are the same, so it will find all four.


Sorry about that.

Andy H

Here is a quick example I just knocked up, using 'Select by similar shape. Use pause if the text goes off too quick

You tube video

PCSteel

Thanks Andy for going to the trouble to show me that. I have installed the 2021 trial and had a good look around. Unfortunately 'Select by Similar' is very close to what I could use but just not quite there. What I have found is that the orientation of the parts effects their selection, so it will select all similar parts in the same orientation but not similar parts in a different orientation. So close.
Oh well, I'll explore V2021 over the next 15 days or at least until I get busy. Thanks again for your help.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

Alvin Gregorio

#11
Quote from: PCSteel on July 03, 2021, 09:56:50 PM
Thanks Andy for going to the trouble to show me that. I have installed the 2021 trial and had a good look around. Unfortunately 'Select by Similar' is very close to what I could use but just not quite there. What I have found is that the orientation of the parts effects their selection, so it will select all similar parts in the same orientation but not similar parts in a different orientation. So close.
Oh well, I'll explore V2021 over the next 15 days or at least until I get busy. Thanks again for your help.

If you are referring to TurboCAD Select by Similar selecting the top four objects in your drawing, but not also the bottom four objects that appear to be exactly the same-- the bottoms are not exactly the same as the top.

I used Selection Info Physical Metrics, and the Copy function at the top of SI to discover that-- positioning the two resultant browser windows side-by-side, for my visual comparison evaluation.
Then, to verify, did a Mirror Copy of one of the top objects, mirroring about the middle of the center object.  Then visually compared the mirrored copy object to the existing lower object-- slightly different.

If you already knew that, then... pardon my interruption.
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)

PCSteel

Yeah, thanks Alvin, I did know that. The problem arises because that assembly and other different assemblies are scattered around the model in different orientations due to the curved nature of the structure. Nothing's ever easy, is it.  ::)
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

PCSteel

To more clearly explain what the limitations of 'select by shape' are I have attached a file with a different assembly. The 12 gussets in this assembly are exactly the same but select by shape will only select 4. To complicate things even further, these assemblies are also oriented differently dependent on where they occur in the project. For example in the model where this assembly occurs 'select by shape' selects 16 of the 216 occurrences of that gusset.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

nikkipollard

I know this isn't going to help you now
If you don't use blocks for objects of the same shape for - whatever reason.
In the selection info palette change the Info under general before you copy or move them.
Then when you want to select all those objects you can use select by query and use the info that you gave it.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

PCSteel

Yes, you're right Nikki - if only.
If the designer that produces these models would do that simple thing it would make my life so much easier. Problem is, I don't deal directly with the designer, so can't suggest it. I might ask my client to suggest it.
Thanks for your input.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3