Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki Supported AutoCAD Keyins
    • Sign In

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • -DWG - MicroStation
          • +Dimensions - DWG - MicroStation
          • +Edit - DWG - MicroStation
          • -General - DWG - MicroStation
            • 3D LineStrings are becoming planar when saved to DWG
            • AutoCAD PGP Files
            • Bentley CONNECT Edition - Autodesk RealDWG(TM) FAQ
            • Bentley V8i (SELECTseries 4) - Autodesk® RealDWG™ 2016 FAQ
            • Bentley V8i - Autodesk RealDWG(TM) FAQ
            • Cannot Copy/Paste Block from DWG to DGN
            • Cannot open Civil3D DWG fully in Microstation.
            • Civil 3D 2022 Object Enabler failure message when opening DWG files
            • Crash when opening any file - Windows error message
            • Creating a DWG Viewport using MicroStation
            • DGN - DWG Terminology
            • DGN reference files in DWG work mode
            • Disable autosave for DWG/DXF files
            • Display of some text in DWG viewports is not scaling correctly
            • DWG DXF Units Alert Box
            • DWGs created in AutoCAD Plant 3D cannot be displayed as Solid
            • Enable "RealDWG 2016" Update for DWG 2015/2016 format in SS3/SS4
            • Having saved my DGN to DWG why am I seeing duplicate Layers with ( Construction )
            • How to attach an ECW raster image to a DWG file within MicroStation?
            • How to download Autodesk REALDWG
            • How to get the DWG units alert box back
            • How to store DWG settings that will be used on a number of files.
            • In a DWG drawing with clipped reference
            • Line Styles And DWG Files
            • Line styles from reference appear as style Continuous
            • Microstation J support for AutoCAD 2004/2005
            • OHM symbol in blocks in DWG is not displayed correctly in V8i
            • Open views do not retain open after closing and reopening DWG
            • Option Save relative path in MS XM when working with DWG is not available
            • Place line string using ACAD line type
            • Prefix \ not working for DWG key-ins
            • RealDWG(TM) [TN]
            • Reference DXF into DXF capability
            • Referencing 3D DWG files to 2D design files elements are not correctly display
            • Supported AutoCAD Keyins
            • When in a DWG the sheet model does not show linestyles
            • Which MicroStation version supports which DWG/DXF version formats?
            • Will MicroStation support the .dwf format?
            • Would like to set up Workspace so DWG/DX...
          • +Open - DWG - MicroStation
          • +Raster - DWG - MicroStation
          • +Save - DWG - MicroStation
          • +Text - DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

     
     Questions about this article, topic, or product? Click here. 

    Supported AutoCAD Keyins

      Product: MicroStation
      Version: V8, 2004, XM, V8i, CONNECT
      Environment: N\A
      Area: DWG
      Subarea: General

    Document Information

    Document Type: TechNote 

    Legacy Document Number:  8325

    Overview

    Note: This information is also available in the MicroStation V8.5 help system.

    The table lists AutoCAD key-ins that you can use in MicroStation, a brief description, and similar (not necessarily identical) MicroStation key-ins or commands. The table shows the AutoCAD commands with the DWG prefix. Alternatively, you can use a command prefix or a command prefix plus an alias from a PGP file to define shortcuts to these commands.

    AutoCAD Key-in Description Similar MicroStation Command or Key-in
    DWG 3DFACE Places a face. Key-in: PLACE SHAPE ICON
    DWG 3DPOLY Places a line. Key-in: PLACE LINE CONSTRAINED
    DWG ARC Places an arc. Key-in: PLACE ARC ICON
    DWG AREA <OBJECT | Add | POINTS> Measures area and perimeter.

    If set to Object, measures the area of an element.
    If set to Add, measures the area of an area bounded by the union of two or more closed planar elements.
    If set to Points (default), measures the planar area with its vertices defined by a series of data points.

    Key-ins: MEASURE AREA ELEMENT, MEASURE AREA UNION, MEASURE AREA POINTS
    DWG ARRAY Copies an element many times to create an array. Key-in: ARRAY ICON
    DWG ATTDEF Defines tags. Key-in: DIALOG TAGS SETS
    DWG AUNITS <0 | 1 | 2 | 3> Sets the units for angles. 0 = decimal degrees. 1 = degrees/minutes/seconds. 2 = gradians. 3 = radians. N/A
    DWG AUPREC <#> Sets the number of decimal places for angle units. N/A
    DWG BASE <x,y> Sets the insertion base point for the current model. The insertion base point is used when the model is referenced into another model. N/A
    DWG BHATCH Defines hatches. Key-in: DIALOG TOOLBOX PATTERNS
    DWG BLOCK Defines a cell. Key-in: DIALOG CELL MAINTENANCE and DEFINE CELL ORIGIN
    DWG BREAK Deletes part of an element. Key-in: DELETE PARTIAL
    DWG CECOLOR <COLOR #> Sets the color for new elements. Key-in: ACTIVE COLOR
    DWG CELTSCALE <SCALE FACTOR> Sets the line style scale factor for new elements, relative to the global scale factor. When a new element is created, the actual line style scale factor is the CELTSCALE value multiplied by the LTSCALE value. Line Styles dialog box, Scale factor setting
    DWG CELTYPE <0-7 | NAME> Sets the line style for new elements. # = standard line style number 0-7. Name = name of a custom line style. Key-in: ACTIVE STYLE
    DWG CHAMFER Constructs a chamfer. Key-in: CHAMFER
    DWG CHAMFERA <DISTANCE VALUE> Sets chamfer distance 1 Construct Chamfer tool, Distance 1 setting
    DWG CHAMFERB <DISTANCE VALUE> Sets chamfer distance 2. Construct Chamfer tool, Distance 2 setting
    DWG CHANGE Lets you modify element attributes. Key-in: CHANGE ICON
    DWG CIRCLE Places a circle. Key-in: PLACE CIRCLE ICON
    DWG CLAYER <LAYER NAME> Sets the level (DWG layer) for new elements. Key-in: ACTIVE LEVEL
    DWG CMLJUST <0 | 1 | 2> Specifies justification for multi-lines. 0 = top. 1 = middle. 2 = bottom. N/A
    DWG COPY Copies elements. Key-in: COPY ICON
    DWG DATE (Read only.) Lists the current date and time in the format: <Julian day number.><Decimal fraction of a day>. N/A
    DWG DDATTDEF Defines tags. Key-in: DIALOG TAGS SETS
    DWG DDATTE Lets you modify values for tags. Key-in: EDIT TAGS
    DWG DDCHPROP Lets you review and modify information about an element. Key-in: ANALYZE ELEMENT
    DWG DDCOLOR Lets you modify the active color table. Key-in: DIALOG COLOR
    DWG DDEDIT Edits text. Key-in: EDIT TEXT
    DWG DDIM Defines dimension style settings. Key-in: DIALOG DIMSETTINGS OPEN
    DWG DDINSERT Places a cell. Key-in: PLACE CELL ICON
    DWG DDmodify Lets you review or modify information about an element. Key-in: ANALYZE ELEMENT
    DWG DDUCS Manages auxiliary coordinate system (ACS). Key-in: DIALOG COORDSYS
    DWG DDVIEW Manages saved views. Key-in: SHOW VIEWS
    DWG DIMALIGNED Places a linear dimension parallel to the element being dimensioned. Key-in: DIMENSION AXIS TRUE and DIMENSION LINEAR
    DWG DIMANGULAR Dimensions the angle between two lines. Key-in: DIMENSION ANGLE LINES
    DWG DIMCENTER Places a center mark at the center of a circle or arc. Key-in: DIMENSION CENTER MARK
    DWG DIMDIAMETER Dimensions the diameter of a circle or a circular arc. Key-in: DIMENSION DIAMETER
    DWG DIMLINEAR Dimensions the linear distance between two points (length). Key-in: DIMENSION LINEAR
    DWG DIMORDINATE Labels distances along an axis from an origin (datum) along the ordinate axis (the line along which the distances are measured). Key-in: DIMENSION ORDINATE
    DWG DIMRADIUS Dimensions the radius of a circle or a circular arc. Key-in: DIMENSION RADIUS
    DWG DIMSTYLE Controls dimension settings. Key-in: DIALOG DIMSETTINGS OPEN
    DWG DIMTEDIT Moves dimension text. Key-in: MODIFY DIMENSION LOC
    DWG DIST Measures distance. Key-in: MEASURE DISTANCE POINTS
    DWG DTEXT Places text. Key-in: PLACE TEXT ICON
    DWG DWGCODEPAGE Shows system code page. N/A
    DWG ELLIPSE Places an ellipse. Key-in: PLACE ELLIPSE ICON
    DWG ERASE Deletes an element. Key-in: DELETE ELEMENT
    DWG EXPLODE Breaks up elements into smaller components. Key-in: DROP ELEMENT
    DWG EXTEND Extends elements to an intersection. Key-in: EXTEND ELEMENT 2 and EXTEND ELEMENT INTERSECTION
    DWG EXTRUDE (3D only) Creates a surface or solid - a complex 3D element generated by linearly extruding a profile element a defined distance. Key-in: CONSTRUCT SURFACE PROJECTION
    DWG FILLET Constructs a circular fillet (arc) between two elements. Key-in: FILLET ICON
    DWG FILLETRAD Stores the current fillet radius value. Key-in: FILLET ICON, Radius setting
    DWG FILLMODE <0 | 1> If set to 1, closed elements are filled. If set to 0, closed elements are not filled. (Click Update View to see changes.) Key-in: ACTIVE FILL
    DWG GRIDMODE <0 | 1> If set to 1, displays the grid. If set to 0, the grid is not displayed. Key-in: SET GRID
    DWG GRIDUNIT <UNIT> Specifies the grid spacing for the current view. Key-in: ACTIVE GRIDUNIT
    DWG GROUP Creates and manages groups. Key-in: GROUP ADD
    DWG HATCH Defines hatches. Key-in: DIALOG TOOLBOX PATTERNS
    DWG HIDE Turns on rendering in hidden line mode. Key-in: RENDER ALL HIDDEN
    DWG HPANG <ANGLE> Specifies the hatch angle. Hatch Area tool, Crosshatch Area tool, Angle setting
    DWG HPNAME <NAME> Specifies the hatch pattern name. Pattern Area tool, Pattern Cell setting
    DWG HPSCALE <#> Specifies the hatch pattern scale factor. N/A
    DWG HPSPACE Specifies the hatch pattern line spacing. Hatch Area tool, Crosshatch Area tool, Angle setting
    DWG IMAGE Controls the display of raster images in a DGN file view. Key-in: DIALOG RASTER
    DWG IMAGEADJUST Controls the image display (brightness, contrast, and fade values). Key-in: RASTER DLGGENERAL OPEN
    DWG IMAGEATTACH Attaches raster references to the active design file. Key-in: RASTER ATTACH INTERACTIVE
    DWG IMAGECLIP Crops a raster image using a clipping boundary. Key-in: RASTER TOOLCLIP
    DWG INSBASE <X, Y> Sets the insertion base point for the current model. The insertion base point is used when the model is referenced into another model. N/A
    DWG INSERT Places a cell. Key-in: PLACE CELL ICON
    DWG INSERTOBJ Inserts new objects into your file. Key-in: OLECNTR INSERT
    DWG INSUNITS <0 - 20> " 0 - Unspecified (no units), 1 - Inches, 2 - Feet, 3 - Miles, 4 - Millimeters, 5 - Centimeters, 6 - Meters, 7 - Kilometers, 8 - Microinches, 9 - Mils, 10 - Yards 11 - Angstroms, 12 - Nanometers, 13 - Microns, 14 - Decimeters, 15 - Decameters, 16 - Hectometers, 17 - Gigameters, 18 - Astronomical Units, 19 - Light Years, 20 - Parsecs N/A
    DWG INTERFERE (3D only) Constructs a solid that is the intersection of two or more overlapping solids. Key-in: CONSTRUCT INTERSECTION
    DWG INTERSECT Constructs a solid that is the intersection of two or more overlapping solids. Key-in: CONSTRUCT INTERSECTION
    DWG ISOLINES <#> Sets the number of isolines used to display SmartSolids and B-spline surfaces. Key-in: B-spline and 3D dialog box, Surface/Solid Iso Lines setting.
    DWG LAYER Controls level display and level symbology. Key-in: LEVEL MANAGER DIALOG OPEN
    DWG LEADER Places a note with a leader line. Key-in: PLACE NOTE MULTI
    DWG LINE Creates line segments. Key-in: PLACE LINE CONSTRAINED
    DWG LINETYPE Activates line styles and sets line style modifiers. Key-in: LINESTYLE SETTINGS
    DWG LOCALE Shows the ISO language code. N/A
    DWG LTSCALE <SCALE FACTOR> Sets the global scale factor for line styles. Key-in: ACTIVE LINESTYLESCALE
    DWG MATCHPROP Matches element attributes. Key-in: MATCH ELEMENT
    DWG MIRROR Mirrors an element. Key-in: MIRROR ICON
    DWG MLINE Places a multi-line (multiple parallel lines). Key-in: PLACE MLINE
    DWG MOVE Moves an element. Key-in: MOVE ICON
    DWG MTEXT Places text. Key-in: PLACE DIALOGTEXT ICON
    DWG OFFSET Moves or copies an element parallel to the original. Key-in: MOVE PARALLEL OFFSET
    DWG ORTHOMODE <0 | 1> Turns on Axis lock. Key-in: LOCK AXIS
    DWG PAN Shifts the view to a different part of the design. Key-in: PAN VIEW
    DWG PASTESPEC Applies a special display format to contents of the clipboard. Key-in: CLIPBOARD PASTESPECIAL
    DWG PLINE Places a chain of connected line segments and arc segments. Key-in: PLACE SMARTLINE
    DWG PLINEGEN <0 | 1> If set to 1, defines the way that line styles are controlled for line strings and shapes. If set to 0, the pattern will restart for each segment. N/A
    DWG PLINEWID <WIDTH> Defines the width for wide custom line styles. Note that AutoCAD only supports width on polylines. Key-in: Line Styles dialog box, Width settings
    DWG PLOT Creates printed output. Key-in: DIALOG PLOT
    DWG POINT Places the active point. Key-in: PLACE POINT
    DWG POLYGON Places a polygon. Key-in: PLACE POLYGON ICON
    DWG PSLTSCALE <0 | 1> Controls how line styles are scaled in AutoCAD layout viewports. (Note: MicroStation treats layout viewports as reference attachments (referred to below as viewport attachments). If set to 0, then the line styles within viewport attachments are based on the units in which the model was created, and therefore are not affected by the scale of the sheet model. If set to 1, then the line styles within viewport attachments are based on sheet model units. N/A
    DWG QUIT Exits MicroStation. Key-in: EXIT
    DWG RECTANG, DWG RECTANGLE Places a block. Key-in: PLACE BLOCK ICON
    DWG REDRAW Updates the views. Key-in: UPDATE VIEW EXTENDED
    DWG REDRAWAll Updates the views. Key-in: UPDATE VIEW EXTENDED
    DWG REGEN Updates the views. Key-in: UPDATE VIEW EXTENDED
    DWG REGENALL Updates the views. Key-in: UPDATE VIEW EXTENDED
    DWG REGION Creates a complex shape from a region. Key-in: CREATE REGION ICON
    DWG RENDER Controls rendering settings. Key-in: DIALOG RENDER
    DWG REVOLVE (3D only) Creates a surface of revolution. Key-in: CONSTRUCT surface REVOLUTION
    DWG ROTATE Rotates elements. Key-in: ROTATE ICON
    DWG RPREF Sets rendering settings. Key-in: DIALOG RENDER
    DWG SCALE Resizes an element. Key-in: SCALE ICON
    DWG SECTION Trims elements to a common intersection. Key-in: CONSTRUCT TRIM
    DWG SHADE Turns on screen rendering (shading). Key-in: RENDER ICON
    DWG SLICE Subtracts the volume of one or more solids from another solid. Key-in: CONSTRUCT DIFFERENCE
    DWG SNAPANG <ANGLE> Sets the snap and grid rotation angle for the current view. Key-in: ACTIVE GRIDANGLE
    DWG SNAPBASE <X, Y> Sets an origin point for the grid. N/A
    DWG SNAPMODE <0 | 1> If set to 1, data points snap to the nearest point on the grid. If set to 0, data points snap to other locations. Key-in: LOCK GRID
    DWG SOLID Places a four-sided filled polygon shape. Key-in: PLACE SHAPE ICON
    DWG SPELL Reviews text for spelling errors. Key-in: SPELLCHECK
    DWG SPLFRAME <0 | 1> If set to 1, displays the control polygon of each B-spline curve. Also displays invisible edges of mesh elements. If set to 0, the control polygons and invisible edges are not displayed. Key-in: SET INVISGEOM
    DWG SPLINE Places a B-spline curve. Key-in: PLACE BSPLINE CURVE
    DWG SPLINEDIT Edits a spline. Key-in: DIALOG TOOLBOX CURVEMODIFY TOGGLE
    DWG STYLE Creates and modifies text styles. Key-in: TEXTSTYLE DIALOG OPEN
    DWG SUBTRACT Subtracts the volume of solids from another solid. Key-in: CONSTRUCT DIFFERENCE
    DWG SURFU <#> Sets the number of rule lines for the surface's U parameter. Key-in: Evaluate Surface tool, Number of Points setting
    DWG SURFV <#> Sets the number of rule lines for the surface's V parameter. Key-in: Evaluate Surface tool, Number of Points setting
    DWG SYSCODEPAGE Shows the system code page. N/A
    DWG TEXT Places text. Key-in: PLACE TEXT ICON
    DWG TEXTSIZE <#> Sets the default height for new text created with the active text style. N/A
    DWG TEXTSTYLE <NAME> Sets the name of the active text style. Key-in: Textstyle active
    DWG TOOLBAR Displays and customizes tool boxes. Key-in: DRAFTPAL OPENTOOLBOX
    DWG TOOLTIPS <0 | 1> If set to 1, tool tips display. If set to 0, tool tips do not display. Help > Tool Tips
    DWG TORUS Places a torus (donut-shaped solid). Key-in:PLACE TORUS
    DWG TRIM Simultaneously trims multiple elements. Key-in:TRIM MULTI
    DWG UCSICON <0 | 1> If set to 1, a coordinate triad representing the Active Auxiliary Coordinate System (ACS) displays. If set to 0, the ACS triad does not display. Key-in: SET ACSDISPLAY
    DWG UCSORG <X, y, Z> Sets the ACS origin for the current view. Key-in: ACS origin
    DWG UCSXDIR <X, Y, Z> (Read only.) Sets the X direction of the active ACS for the current view. Key-in: ACS X Direction
    DWG UCSYDIR <X, Y, Z> (Read only.) Sets the Ydirection of the active ACS for the current view. Key-in: ACS Y direction.
    DWG UNION Unites two or more overlapping solids. Key-in: CONSTRUCT UNION
    DWG UNITS Sets the Design Center Units (AutoCAD system variable INSUNITS) for a DWG file in MicroStation. Opens the DWG/DXF dialog box, where you can change the unit settings. N/A
    DWG VISRETAIN <0 | 1> If set to 1, changes to the level attributes for attached references are saved from session to session. If set to 0, changes to the level attributes for attached references are valid for the current session only; they are not saved. Key-in: SET REFLEVELOVERRIDES
    DWG WBLOCK Writes a new DWG file from one of the following: the entire design file, a group of selected objects or a shared cell definition within the current file. N/A
    DWG WEDGE Places a wedge. Key-in: PLACE WEDGE
    DWG XATTACH Attaches a reference to the active model. Key-in: ATTACH REFERENCE
    DWG XBIND Merges references into the master DGN file. Key-in: DIALOG REFERENCE and REFERENCE MERGE
    DWG XCLIP Defines a clipping boundary. Key-in: REFERENCE CLIP
    DWG XCLIPFRAME <0 | 1> If set to 1, turns on display of reference clip boundaries. If set to 0, turns off display of reference clip boundaries. Key-in: DIALOG REFERENCE
    DWG XREF Defines references (XREFs). Key-in: DIALOG REFERENCE
    DWG ZOOM Changes the magnification of the view. Key-in: ZOOM

     

    See also

    Other language sources

      Original Author: Bentley Technical Support Group
    • AutoCad
    • KeyIn
    • DWG
    • Workmode
    • Share
    • History
    • More
    • Cancel
    • Dan Koval Created by Bentley Colleague Dan Koval
    • When: Fri, Sep 6 2013 4:05 PM
    • Andrew Bell Last revision by Bentley Colleague Andrew Bell
    • When: Thu, Jun 13 2019 12:43 AM
    • Revisions: 3
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies