Face it, we all need it! Cut symbols are used all the time. Now the tricky part is how to get it in your drawing? How to manipulate it for scales, and what it looks like. Well I decided to punch out some code that could help 2 of these 3 problems. Attached is a Lisp code I wrote to allow a user to pick 2 points and place a cut symbol. Now whats cool about this cut symbol is its a dynamic block. It has grips on each end to always keep the cut symbol centered. Or if you need it to be slightly to the right or left you can do that also. The Dynamic block is also tied in with the code so if you pick two points really close you will get a straight line cut. This way not cluttering up your drawing. I've attached a couple sample cut symbols you can test with. But feel free to take these couple blocks and expand upon them for your office standards.
To test and use the Dynamic Cut block. Simply issue APPLOAD and load the attached Lisp code. Then make sure the dynamic CUT block called "CUT" is in the drawing. Then just run the command "CUT". If you need the scale of the CUT symbol bigger just change your DIMSCALE. The Cut symbol will scale up as you change Dimscales.
Click here to Download the Dynamic CUT lisp code.Download CUT.LSP
Click here to Download the Dynamic CUT Block #1. Download CUT.dwg
Click here to Download the Dynamic CUT Block #2.Download CUT2.dwg (If you want to use this block with the code you need to rename the block name back to "CUT". I cant attach 2 file types with the same name in these posts. Sorry.)
If you have some cool cut symbols you'd like to share with others feel free to e-mail them to me. By sending them to me you agree that the blocks can possibly be posted on this blog for others to access.
cut.lsp
Nice routine.
Thanks
Posted by: Robert Michaels | September 21, 2005 at 01:43 PM