Hello,
I have lots of rectangle of sizes 2 by 4 in different sketches. Is it possible to do a macro that automatically change them in rectangles with circles at the end like in the image?
Thanks for the help
Hello,
I have lots of rectangle of sizes 2 by 4 in different sketches. Is it possible to do a macro that automatically change them in rectangles with circles at the end like in the image?
Thanks for the help
I guess those are milled holes where the radius would interfere with the part that will fit into the hole? You could either:
I think both options are very doable via a macro. Certainly if you pre-select the feature or sketch items that you want to edit.
Thanks for the answers.
I am trying to write the macro but I'm new in this stuff. If I select a rectangle, what command should I use to get the coordinates of the lower left point of the rectangle?
In the case where you select sketch entities before you run the macro:
This example shows you how to get the end points of a line. Then:
Is this a cut shape or extruded material. I don't know of any macro but you can create library feature based on cut extrude or boss extrude and can quickly add that to your models.