• Home
  • Training Books
  • Subscribe to Our Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
  • MicroStation
    • MicroStation Basic Tutorial
You are here: Home / AutoCAD / How to: trim and copy objects within a boundary

How to: trim and copy objects within a boundary

February 9, 2012 by Edwin Prakoso 10 Comments

In this Article...

  • A quick way to do it
    • Export your layout
    • Copy it back to your original drawing
  • It’s not perfect, but it does the job

Do you need to copy objects within a rectangle, circle or polygon boundary like below?

 

copy_within_box

Normally, I would recommend you to optimize AutoCAD layout. You can show a part of your drawing by creating viewport. However, we do need to do this once in a while.

We can copy it and trim the objects that extend the boundary later. But it can take too much time. Especially if you have so many objects like above.

A quick way to do it

This is a tip I found in CAD tutor forum by SLW210.

Export your layout

You can create a viewport in a layout that shows area you want to copy and trim away from your drawing.

Remember to set viewport scale to whatever you need. If you set it to 1:1 (full scale) then you will have the same size drawing. It doesn’t matter if your viewport boundary is too large for your sheet size. We won’t use it anyway.

viewport_within_layout

After you have done, you can type EXPORTLAYOUT then [enter]. Remember, you have to do this in your layout.

Now you can save your layout as another drawing. You will have your drawing in model space there.

Copy it back to your original drawing

If you need to have that part of drawing in your original drawing, you have an extra work. You must copy that drawing and paste it to your original drawing.

Open exported file. Select all objects (or entities) you want to copy. Type COPYCLIP then [enter] (or press ctrl+C).

Open your original file. Type PASTECLIP (or press ctrl +V) to paste it to your original drawing.

It’s not perfect, but it does the job

I have to admit that this is not as easy as I expected. I wish AutoCAD has a tool that can do this directly.

For a simple drawing, probably this method is not effective. But for a very complex drawing, I prefer to use this method than manually trim and delete objects outside my boundary.

How about you, do you have a better method to do it?

About Edwin Prakoso

I work as a Sr. Consultant in PT Cipta Satria Informatika. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and I am also active in Autodesk discussion forum. I'm a member of Autodesk Expert Elite, an appreciation for individuals who give contributions to the Autodesk community.
Connect with me on twitter or LinkedIn.

Filed Under: AutoCAD Tagged With: autocad tips, exportlayout

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

10 Comments
Inline Feedbacks
View all comments
ben
ben
8 years ago

Thanks very much for these tips,they expand my experience in autocad

0
Reply
SID
SID
9 years ago

@Edwin Prakoso
GREAT POST THAT BRO.

0
Reply
Jack Rodger
Jack Rodger
10 years ago

Perfect, so useful!

0
Reply
Brenda
Brenda
12 years ago

or make a rectangle, and type EXTRIM in Autocad

1
Reply
Shujath
Shujath
Reply to  Brenda
8 years ago

This works so perfectly.

-1
Reply
Martin
Martin
13 years ago

Any reason why you wouldn't just use the EXTRIM command?

0
Reply
Edwin Prakoso
Edwin Prakoso
Reply to  Martin
13 years ago

Thank you for the feedback.

The original question was asked by AutoCAD LT user. So EXTRIM wasn't an option. When I tried EXTRIM on my PC, there are some left over that I have delete after the process. It's really depends on your preference and your drawing. But I found this can do the job when EXTRIM doesn't work well.

0
Reply
Glenn
Glenn
13 years ago

AutoCAD does have a tool for this, but unfortunately it's only in MAP and Civil 3D. MAPTRIM

0
Reply
Paul Munford
Paul Munford
13 years ago

Edwin, 

I'd never thought of this work flow, sounds interesting. On first impressions I think I'd rather turn the original into a block and use Xclip to grab the section I want.

Great stuff, keep it coming!

0
Reply
Edwin Prakoso
Edwin Prakoso
Reply to  Paul Munford
13 years ago

I never thought of XCLIP-ing too!
But if we need to modify the objects, I think this is a preferred method. All credit is for SLW210, for posting the original tip on CADTutor :)

0
Reply
wpdiscuz   wpDiscuz

Featured

3D model with annotation

What’s new in AutoCAD: Annotations

This is AutoCAD new features roundup in annotation features. Read it if you want to implement AutoCAD new features!

Recent Articles

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available

Advertisement

New on CADnotes

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available
  • Autodesk Forma Design Contest
  • Revit 2025: Toposolid Enhancements

Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

Get Connected

CADnotes on FacebookCADnotes on InstagramCADnotes on TwitterCADnotes on YouTube

© 2009 – 2025 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz