borisw37 Posted October 26, 2012 Share Posted October 26, 2012 I have a dxf file that consists of multiple rectangles (filled). I need to keep the X-Y position of each rectangle / entity the same but scale the size of the rectangle. So for example, scale by -10%. If its a filled rectangle centered at (1,1) size (2,2) I need it to be centered at (1,1) and size (1.8, 1.. DXF is a text file and I can write a piece of VBA code to go through, decode the text, find the rectangles, scale, save the text file back to DXF. Is there a quicker and easier way to do this? Quote Link to comment Share on other sites More sharing options...
Grant Posted October 29, 2012 Share Posted October 29, 2012 Depends if you can write your VBA code or Visual Lisp to manipulate Acad as you can read the x,y while using acad. But it is just a different way of doing the same thing. Quote Link to comment Share on other sites More sharing options...
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.