Quantcast
Channel: AutoCAD LT Forum topics
Viewing all articles
Browse latest Browse all 9826

Draw the smallest possiple Rectangle around one or several Polylines

$
0
0

Hi all,

 

I am new to this forum but not brand new to Autocad LT. I work as a Carpenter and use LT to create CNC Programs to routercut out different shapes. I use Autocad LT for several Years and allways created my own Macros to make my Life  my work faster and easier.

 

I want define the size of this plates to cut them before routing.

 

I search a way How to automatize this Progress using macrofunctions but i cant do it right.....:smileysad:

 

In a perfect World i would like to have this:

 

Hit Custom Button --> Select Polyline --> Enter Oversize (offset)--> recieve Rectangle with preset offset to my selected Polyline.

 

What i have so far i:

 

^C^C_rectang;.x;\.y;\

 

This creates a Rectangle asking me first for the xy coordinates of where i want my start my Rectangle and the xy coordinates of the other Corner .I click on the lower x and the lower y coordinates then the higher xy ones. This creates a rectangle  which fits to my Workpiece. Then i use the Offset tool to add my Offset and delete the original Rectangle.

 

It works "OK" but its sometimes hard to find the exact max/min X/Y location. I often have quite a few of this routines to do so it would be a greatTime saver for me ( and i bet for many others too.)

 

I tried to get my x y Info from the LIST command but i dont know how to get it and if i would get it, to combine this into my rectangle command :smileyindifferent:

 

Does anyone here have a Idea how i can aproach?  I know it must be possible somehow as i once had a 3rd Party Tool which did exact what i want. Sadly this Tools are too expensive for only this Function...

 

Please Help me to get this done.

 

Thank you in advance :)

 

I know there are some LISP tools out there but sadly i cant use those.....


Viewing all articles
Browse latest Browse all 9826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>