thread560-377244
Hi guys, I´m referring to that thread because what I need to do is basically get the text from the "Sketch Analysis" tool, like our friend 2briancox asked.
I need to do this because I´m trying to count how many holes (circles) are on a DXF. I know that the easiest way was to search for all circles using - selection1.Search "CATDrwSearch.2DCircle,all", but my problem is that usually after I input my DXF, the arcs are named as "circles" too, and when I search they appears as circles. Another problem is that some holes from the 3D comes as open 2arc next to each other and are not recognized as circles in the search.
So I try to hit the Sketch Analysis tool and the text shown in that window allows me to count the circles correctly, even for the imperfect 2arcs circles that appears as "implicit profile" with 2 elements. So my goal is to search this text and count the circles + the implicits profiles with 2 elements. Is this possible or you have another way of achive this?
This image shows the correct number of circles (I couldnt generate a imperfect 2arc circle as example)
Any help?
Thanks
Hi guys, I´m referring to that thread because what I need to do is basically get the text from the "Sketch Analysis" tool, like our friend 2briancox asked.
I need to do this because I´m trying to count how many holes (circles) are on a DXF. I know that the easiest way was to search for all circles using - selection1.Search "CATDrwSearch.2DCircle,all", but my problem is that usually after I input my DXF, the arcs are named as "circles" too, and when I search they appears as circles. Another problem is that some holes from the 3D comes as open 2arc next to each other and are not recognized as circles in the search.
So I try to hit the Sketch Analysis tool and the text shown in that window allows me to count the circles correctly, even for the imperfect 2arcs circles that appears as "implicit profile" with 2 elements. So my goal is to search this text and count the circles + the implicits profiles with 2 elements. Is this possible or you have another way of achive this?
This image shows the correct number of circles (I couldnt generate a imperfect 2arc circle as example)
Any help?
Thanks