Filtering Clash Tests

Filtering Clash Tests

Mike.Greisen
Participant Participant
3,643 Views
3 Replies
Message 1 of 4

Filtering Clash Tests

Mike.Greisen
Participant
Participant

Hi,

I've got a template for clash detection that contains all my search sets which total around 60. I have a tool which creates the tests for me but it generates nearly 3000 tests!

 

Depending on the project, I'm only interested in maybe a third of those results, however I can't see an easy way of filtering or editing the list of tests. I can't even select more than one at a time so that I am currently having to delete them one by one until I have a meaningful output.

 

Does anyone know of a way to filter or edit the test list other than deleting one by one?

 

Cheers

0 Likes
3,644 Views
3 Replies
Replies (3)
Message 2 of 4

!Dalton_Goodwin!
Advocate
Advocate

Export your clash test. Which will give you a xml formatted file type. Open that with notepad or something that gives you an option to edit it.  Remove the line of text for the test(s) you don't want.

 

For an example, I wont to remove Test 5 from the test. I will delete the below text just for the test and then save and import the modified xml file. Now I will have my all my clash tests except for Test 5. 

 

-<clashtest name="Test 5" merge_composites="0" tolerance="0.2500000000" status="new" test_type="hard">

<linkage mode="none"/>


-<rules>


-<rule name="Items in same group/block/cell" creator="lcop_clash_adapator_for_lcodpclash_ignore_same_group" enabled="1">

<ruleparams/>

</rule>


-<rule name="Items with coincident snap points" creator="lcop_clash_adapator_for_lcodpclash_ignore_coincident_snap_points" enabled="1">

<ruleparams/>

</rule>

</rules>

</clashtest>

0 Likes
Message 3 of 4

Mike.Greisen
Participant
Participant
Yep, but manually deleting lines of code from an XML is no better than deleting lines from the dialogue box.
What I have found is an XML editing command - XQ. I'm not going to pretend I understand it, but cleverer people than me can use it to quickly manipulate XML code to my requirements, removing all tests that do not involve Mech or Hyd for instance.
It might be something that can be packaged into a tool that I could share on here if that's allowed.
0 Likes
Message 4 of 4

!Dalton_Goodwin!
Advocate
Advocate

I see. Not sure of the tool you are referring to. Sounds cool tho. You would just need keywords to find the specific items that you want to delete then also removing the 10 lines of text below it. If you do get something like that for sure share it! 

Hope you find a solution to your problem.

BTW you can highlight more then one test to delete in the xml. So it is a little better then one at a time.

0 Likes