AutoCAD Civil 3D Tip: Undocumented command CONVERTLINEWORKTOMASKBLOCK

Written by:  Ben Johnson

There is an undocumented command in Civil 3D called CONVERTLINEWORKTOMASKBLOCK which does exactly what the command name itself implies. It allows the user to create linework to be used to mask drawing objects. This can come in handy, for instance, when users would like to mask part of a profile. There is not an option in the profile properties for masking as there is for alignments so this command can serve to do that.

This command does not exist anywhere on the ribbon or on any toolbars. Simply type the command into the command line to run it. The command will first prompt the user to select closed polylines. This is important. The polylines need to be closed.

Once the linework is selected, the dialog box shown below will appear.

Convert to Mask Block Dialog Box

 

There is an option to name the new mask, or users can just go with the default name.

Next, there are two options by which objects will be masked. The first option is to automatically mask everything within the masking linework. The second option allows the user to select which objects will be masked.

The images below show the effect of when a design profile is selected to be masked by the masking polyline.

Design Profile Before Mask

 

 

Design Profile After Mask

 

The final option within the command dialog box is a check box which tells the command to delete the original polylines once the mask is created.

Users will want to place the resulting mask block reference object on a no plot layer once it has been created.

Once the mask has been created, the user can add objects to it, remove objects from it, and also edit the shape of the mask. These options are all found on the right-click menu of the mask object.

Mask right-click menu options

 

edit mask shape with Edit Profile In Place option

 Give this command a try. It can be useful in many situations.

 

   We offer AutoCAD training classes!   

AutoCAD Civil 3D Fundamentals:  Learn the essential fundamentals of AutoCAD Civil 3D in this four-day training class intended to give users comprehensive experience with the features and benefits of AutoCAD Civil 3D. Hands-on exercises explore how to use the Civil 3D dynamic environment to be productive and efficient producing 3D models and 2D drawings. Taught in 2012 and 2014.  REGISTER NOW!

Autodesk Subassembly Composer:  Subassembly Composer (SAC) is a simplified flowchart style interface for developing complex subassemblies to use in AutoCAD Civil 3D without a need for programming. A working knowledge of Civil 3D is a prerequisite for this hands on class. This class will create assemblies used in roadway modeling and site grading. Taught in 2012 and 2014.   REGISTER NOW!

EnvisionCAD

Since 1996, EnvisionCAD has been a nationally recognized leader in the configuration, customization, implementation, training & support for CAD software solutions. Our individualized approach has benefited private engineering firms and government agencies alike. Basic or advanced, we can help you get the most from your CAD technology.

One comment on “AutoCAD Civil 3D Tip: Undocumented command CONVERTLINEWORKTOMASKBLOCK

  1. cj roberts Reply

    I cannot get it wipeout static “created” profiles unless I am in 3d model view. I have no issues with dynamic profiles created from surface.

Leave a Reply

Your email address will not be published. Required fields are marked *