r.cipriani Posted December 2, 2017 Share Posted December 2, 2017 I have a rectangular matrix of circles (but it can be also an irregular group of circle), a larger circle and the necessity to count the small circle inside the larger. This is a component of a workflow where I have to select a given number of small circle, extrude them and subtract from another solid. Actually I draw the matrix, draw a circle of surface calculated multiplying the area of the square which contain any small circle by the number of circles, retrace the circle with the Polygon Marquee Mode and read the number in the Object Info Pallette, modify the radius of the big circle and so on. The most time consuming operation is tracing, so if I can automate the count of object inside I will be very happy! I attach a demo file with the matrix and a circle, in VW 2017 format. Thank you to anyone can help me. Roberto test selezione inside.vwx Quote Link to comment
Pat Stanford Posted December 3, 2017 Share Posted December 3, 2017 Try this and see if it works for you. If so, we can make a script out of it to automate at least part of the process. Select the large circle. Convert Copy to Polygon. Name the new polygon (I called mine Roberto). Go to the Tools menu and choose Custom Selection. Choose Select Only and click the Criteria button. Set the Criteria to Location is within Roberto and click OK. You should now have all of the circles that are even partially within the large circle selected. Let me now if this is what you are looking for. Quote Link to comment
AlanW Posted December 4, 2017 Share Posted December 4, 2017 (edited) @r.ciprianiHi, You can use Marionette to count the objects in or on the circle. See attached. Edited December 4, 2017 by Alan Woodwell Actually didnot count what was in the circle need to figure it out why Quote Link to comment
r.cipriani Posted December 4, 2017 Author Share Posted December 4, 2017 7 hours ago, Pat Stanford said: Try this and see if it works for you. If so, we can make a script out of it to automate at least part of the process. Select the large circle. Convert Copy to Polygon. Name the new polygon (I called mine Roberto). Go to the Tools menu and choose Custom Selection. Choose Select Only and click the Criteria button. Set the Criteria to Location is within Roberto and click OK. You should now have all of the circles that are even partially within the large circle selected. Let me now if this is what you are looking for. Hi, Pat, thank you. Actually I select all and Intersect, having selected all the small circles and part of it and transfer the selection on a new layer. Your look better, and I missed the Criteria "Location is within". Quote Link to comment
r.cipriani Posted December 4, 2017 Author Share Posted December 4, 2017 4 hours ago, Alan Woodwell said: @r.ciprianiHi, You can use Marionette to count the objects in or on the circle. See attached. test selezione inside.vwx Hi Alan, thank you. I understand the way I can proceed and now try to adapt the to the full process. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.