Jump to content

Scaling individual entities in a drawing ?


Recommended Posts

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.8).

 

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...