News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu

clash analysis

Started by Leo67000, September 09, 2023, 05:45:37 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Leo67000

Hi over there, 

I was happy to see that there is a software solution giving the results of a clash analysis. Not being very strict with my drawings (I manufacture myself some interesting devices) I could see many clashes in the resulting excel file. However, I would like to know how I could find the parts by their entity ID?

Thank you so much for your kind replies and help.
Asus S516JA-BQ1762T CPÜ Intel(R) CorefTM) i7-1065G7 CPU @ 1.30/3.6GHz (4 phys. cores - 8 log. cores);  Graphic card intel(R) Iris(R) Plus Graphics; Compatibility modul for OpenCL™, OpenGL® (OpenCL 3.0  FULL_PROFILE); RAM 16 Gb, Win11 Family, TC 2026 ver. 33 build 49.5

Andy H

#1
I've no idea about 2023. But. In some previous versions one can, as you are using platinum.

If you know the ID number.
Edit menu - Select by query.  Clear anything in the dialog box and either copy/paste in
'Object ID'='XX'
(including single quotes).  Where XX is the ID number.
Or select criteria - common properties - object ID.   Put in the ID number.   Then click OK button. 
MUST contain whole numbers numbers only, If the ID number exists it will be selected. If ID doesn't exist nothing will be selected.  ID numbers could be in the hundreds of thousands, on large drawings.  Won't work on objects inside groups / blocks, without going into their respective edit modes.

If you want to find an objects ID. Open macro palette.  I Dock it with the palettes if it is floating (this is just so its not in the way).  Ensure it is blank.  Copy paste the following.
Dim gr  ' variable for graphic object
Dim TCSel  ' Variable for selected object
Set TCSel = ActiveDrawing.Selection ' Gets the selected object.
gr = TCSel(0).ID  ' Gets the ID number from first object in selection.
MsgBox("ID number = " & gr) '  Displays the ID number in a message box.

The comments in the above code, are for info only.  They can be removed, or safely left in, user preference.

Then select an object. click the play button in the macro recorder, A message will appear with the objects ID.
You can select another object and click play button again. 

NOTE If you select multiple objects all at once, only one ID will be shown.  AND it won't work properly if you group of block objects,  As groups and blocks are given their own unique ID.  But the individual objects retain their personal ID.  Though one can go into group edit mode and select individual objects, then play the macro.

You could write code to get around some limitations, if one wishes.

Leo67000

dear Andy,

Thank you so much for your excellent advices (I would never have got the idea to use such a powerfull command as "Query".

thank you, take care.

Leo
Asus S516JA-BQ1762T CPÜ Intel(R) CorefTM) i7-1065G7 CPU @ 1.30/3.6GHz (4 phys. cores - 8 log. cores);  Graphic card intel(R) Iris(R) Plus Graphics; Compatibility modul for OpenCL™, OpenGL® (OpenCL 3.0  FULL_PROFILE); RAM 16 Gb, Win11 Family, TC 2026 ver. 33 build 49.5

Alvin Gregorio

TurboCAD's 2023.1 Release Blog states:

Clash Detection:
...
TurboCAD 2023.1 further refines this tool, allowing for specific components to be selected for analysis via the local menu. This upgrade streamlines the process of isolating conflicts in large complex assembly relationships, both visually and analytically.

________________________________________________
Have you looked into that to see if it actually functions as advertised?
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

Quote from: Andy H on September 09, 2023, 02:47:42 PMIf you know the ID number.
Edit menu - Select by query.  Clear anything in the dialog box and either copy/paste in
'Object ID'='XX'
(including single quotes).  Where XX is the ID number.
Or select criteria - common properties - object ID.  Put in the ID number.  Then click OK button. 
MUST contain whole numbers numbers only, If the ID number exists it will be selected. If ID doesn't exist nothing will be selected.  ID numbers could be in the hundreds of thousands, on large drawings.  Won't work on objects inside groups / blocks, without going into their respective edit modes.

If you want to find an objects ID. Open macro palette.  I Dock it with the palettes if it is floating (this is just so its not in the way).  Ensure it is blank.  Copy paste the following.
Dim gr  ' variable for graphic object
Dim TCSel  ' Variable for selected object
Set TCSel = ActiveDrawing.Selection ' Gets the selected object.
gr = TCSel(0).ID  ' Gets the ID number from first object in selection.
MsgBox("ID number = " & gr) '  Displays the ID number in a message box.

The comments in the above code, are for info only.  They can be removed, or safely left in, user preference.

Then select an object. click the play button in the macro recorder, A message will appear with the objects ID.
You can select another object and click play button again.

Thanks Andy, this is very useful information.

Cheers
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

Leo67000

Quote from: Alvin Gregorio on September 12, 2023, 04:53:22 AMTurboCAD's 2023.1 Release Blog states:

Clash Detection:
...
TurboCAD 2023.1 further refines this tool, allowing for specific components to be selected for analysis via the local menu. This upgrade streamlines the process of isolating conflicts in large complex assembly relationships, both visually and analytically.

________________________________________________
Have you looked into that to see if it actually functions as advertised?

Hi Alvin,
;)
That is the reason I was interested to see how I can get access to the information of conflicts. To use the tool in selecting the full drawing works well, but if your drawing has many items, you would be interested to access only to some ones and here I must say that I am not convinced that the proposed command "select entities in the drawing" enables to finish the selection (may be something is buggy or I do not know how to use this command.
Thank you for pointing this question out.
Take care.
Leo.
Asus S516JA-BQ1762T CPÜ Intel(R) CorefTM) i7-1065G7 CPU @ 1.30/3.6GHz (4 phys. cores - 8 log. cores);  Graphic card intel(R) Iris(R) Plus Graphics; Compatibility modul for OpenCL™, OpenGL® (OpenCL 3.0  FULL_PROFILE); RAM 16 Gb, Win11 Family, TC 2026 ver. 33 build 49.5