AutoCAD FLATTEN

Matt Kolberg
Technical Consultant — INFRA/GIS at SolidCAD  

AutoCAD has a command contained within the Express Tool named FLATTEN.  It is designed to remove any non-zero elevations from selected objects within a drawing.  It does an excellent job with this, but there is some behavior that may not be obvious to all users.  This command works very well with many objects such as TEXT, LINES, and some BLOCKS.  However, unexpected behavior results when flattening Dynamic and Annotative blocks, even blocks with embedded non-zero-elevation linework.

Annotative Blocks:  For example, an annotative block with a name of Arrow, is inserted 3 times.  Regardless of the attached annotative scales, the result after the FLATTEN command will be 3 blocks with 3 different names; Arrow-flat-1, Arrow-flat-2, and Arrow-flat-3.  Further, they will no longer be annotative.

Dynamic Blocks:  After the FLATTEN command, each dynamic block will no longer be dynamic and will become an “unnamed block” with a name similar to “*U63”.

Blocks:  A typical block will FLATTEN adequately.  A block which contains elements which have non-zero elevations, will also flatten adequately.  Understand that the FLATTEN command will make changes to block definitions in this example to set all elevations to 0.

So what can be done?  Here are two options.

  • Download and run a LISP command from this discussion group post.
  • Be selective when flattening.  Flatten objects which have no deleterious results afterwards.  The AutoCAD FILTER command can be configured to easily select compatible objects.  The filter can be saved for future use.

 

Related Posts

null
Infraworks 2021.2 Update

Autodesk has released the next update for Civil 3D 2021.  Find the release notes here.  Here are some highlights: Add decorations to component roads imported from Civil 3D. Modify lane markings for component ...

Civil 3D 2021.2 Update

Autodesk has released the next update for Civil 3D 2021.  Find the release notes here.  Here are some highlights: New ArcGIS workflows: Refresh data sources. Import raster data as an image, or as surface data. ...

Civil 3D Pressure Pipes

Civil 3D 2021.1 introduced several new features including a new compass when creating a pipe run.  This is excellent news, but depending on your modeling requirements, it can cause an issue if you leave in a ...