B A
Migrating to AutoCAD 2000:
A Guide for CAD Managers

Introduction

This guide explains how to install, deploy, and configure AutoCAD 2000, and how to manage a networked AutoCAD environment. It explains how to transfer your current AutoCAD setup to AutoCAD 2000. Use the following table to find topics of interest for your installation.

Assessing Your Current Installation
Installation, Configuration, and Registration
Environment Changes
Customization Migration
Converting Drawing Files
Plotting Enhancements
Working in a Mixed Release Environment
Migration Resources
New, Retired, and Changed Commands
New, Retired, and Changed System Variables
AutoLISP and the Multiple Design Environment
Changes to AutoLISP
AutoCAD Release 14 Custom Files Directory
New Group Codes for Objects and Other Changes
Migration Tools and Wizards

Overview of Migration Resources

Tools and information sources to help you migrate to AutoCAD 2000 include:

  • The AutoCAD 2000 CD provides installation tools. Some migration processes occur during installation.

  • AutoCAD 2000 Migration Assistance (AMA), which you can install with AutoCAD 2000, provides migration tools that you can use to migrate drawing files and custom files after you install AutoCAD 2000.

  • AutoCAD 2000 plotting and layout wizards, accessed from the Tools menu, step you through the initial setup and configuration of AutoCAD 2000 plotting and layouts.

  • AutoCAD 2000 documentation is provided with every AutoCAD 2000 license. Each license includes a printed Installation Guide and a User's Guide. All user documentation, including the Command Reference and developer manuals, are available from the AutoCAD 2000 Help menu. You can order printed versions of the Command Reference and developer manuals from your Authorized Autodesk Reseller or from: http://www.autodesk.com/purchase.

  • White papers provide additional support on specific topics. You can download white papers from http://www.autodesk.com
See Migration Resources for detailed locations of migration topics within the AutoCAD 2000 documentation. Migration Tools and Wizards provides a list of referenced migration tools.

Training and Developer Documentation

User training: The AutoCAD 2000 Learning Assistance CD, included with each AutoCAD 2000 license, is a valuable tool for training users on new AutoCAD 2000 features and getting them up and running quickly. Users can run the multimedia training lessons from their computers. In addition to AutoCAD 2000 Learning Assistance, Autodesk Training Centers offer classroom training on AutoCAD 2000. For a list of Autodesk Training Centers, visit: http://www.autodesk.com/.

Development Environment Changes: The development environments supported by AutoCAD 2000 are more powerful than ever. To learn about them, consult the following documentation manuals, which are available from the AutoCAD Help menu: AutoLISP Reference, Visual LISP Developer's Guide, Visual LISP Tutorial, ActiveX and VBA Developer's Guide, and ActiveX and VBA Reference. You can also order printed copies of the developer manuals from your Authorized Autodesk Reseller or from the following website: http://www.autodesk.com/purchase.

Assessing Your Current Installation

Before you install AutoCAD 2000, check that all hardware and network protocols meet the minimum specifications for AutoCAD 2000. Also, you should begin gathering license numbers to upgrade your current registrations.

Hardware and Network Protocol Assessment

AutoCAD 2000 has the same hardware requirements as AutoCAD Release 14. AutoCAD 2000 will run faster than Release 14 on the same hardware. If you plan hardware upgrades, see the white paper, "Speed and Productivity: A Study Comparing AutoCAD 2000 with AutoCAD Release 14" which you can find at: http://www.autodesk.com/products/acad2000/features/whtpaper.htm. Older AutoCAD releases had lower hardware requirements. Check machines with older releases to be sure they have sufficient resources for AutoCAD 2000. AutoCAD 2000 system requirements are described in Chapter 1 of the Installation Guide.

AutoCAD 2000 supports several networked configurations operating on either TCP/IP or IPX. You can use the Autodesk License Manager (AdLM) to manage AutoCAD 2000 licenses at a single point. For information about installing, configuring, and using AdLM, see Chapter 3 in the Installation Guide. AdLM also supports hybrid environments with standalone versions of AutoCAD running under their own licenses but accessing common resources.

Cataloging Existing Copies of AutoCAD

Before you begin migration, you need to identify the number of upgrades that are needed. To upgrade from one release to the next, Autodesk requires a valid serial number from the previous AutoCAD version. You can use the Serial Number Harvester tool provided with AutoCAD 2000 Migration Assistance (AMA) to quickly generate a list of AutoCAD serial numbers. The Serial Number Harvester will operate over a network or on individual machines. It generates a report listing every copy of AutoCAD it finds including the AutoCAD version, serial number, and the machine name. You can save reports to files and combine them as needed.

Installation, Configuration, and Registration

The method you use to install AutoCAD 2000 determines how you deploy and configure it for final use. This section explains methods for network deployment and licensing.

Before Installing On Top of Release 14

Network and individual installation processes automatically migrate pen settings into AutoCAD 2000. In addition, you may choose to migrate user profiles directly into AutoCAD 2000 during installation. Other customized AutoCAD files are placed in the R14 Custom Files folder in the Acad2000 folder. For a list of copied files see AutoCAD Release 14 Custom Files Directory.

Copied Release 14 custom files do not include files that were added manually or by third party applications. You must copy these files separately before you install on top of Release 14. These may include custom menu files, shape, hatch, and linetype files, template files, and AutoLISP® files. (This list is suggestive, not exhaustive).

If you want to keep Release 14 on the same machine, install AutoCAD 2000 to its own folder. Release 14 files will not be affected. However, some registry entries and system associations will be modified to make AutoCAD 2000 the default editor for AutoCAD files. The local Release 14 plotting configurations will also be used to make color dependent plot style tables in AutoCAD 2000 (for more information on plotting, see Plotting Enhancements).

After you install AutoCAD 2000, you can migrate your customizations from previous releases of AutoCAD using AutoCAD 2000 Migration Assistance tools. See Migration Tools and Wizards.

License Management Options and Registration

AutoCAD supports two licensing methods:

  • Individual user licenses
  • License pools managed by the Autodesk License Manager
Each licensing method has advantages, and you can combine methods to minimize administrative maintenance.

Individual licensing of AutoCAD guarantees availability of AutoCAD 2000 software at any time, even when disconnected from a network. If a portable computer does not have an individual license, AutoCAD will only be available when the computer can see the network. Individual licensing requires that you purchase a separate license for every machine that uses AutoCAD. You must enter individual license codes, issued by Autodesk or your dealer, at each machine within thirty days of installation. No other action is required.

The Autodesk License Manager (AdLM) pools available licenses. AutoCAD must be configured to look for the AdLM, which should be set up and run on a reliable server. With AdLM, you can install AutoCAD 2000 in as many computers as needed, and AdLM issues as the licenses that were purchased on a first-come first-served basis. AdLM extends AutoCAD to more users without having to purchase more licenses, and is particularly useful when users only use AutoCAD for short periods of time each day. It offers control and reporting features unavailable when you purchase individual licenses. You can configure AdLM to reserve or exclude licenses for specific individuals, groups, or machines.

To use AdLM, you must install, configure, and license it. AdLM offers management and maintenance tools, and it can operate redundantly across several servers. AutoCAD 2000 maintains constant contact with the AdLM. If that connection is lost, the user is given an opportunity to save their work but they cannot continue.

For information about installing and configuring AdLM, see Chapter 3 in the Installation Guide.

Installation Configurations

AutoCAD 2000 offers many ways to configure an installation. You can create a set of AutoCAD customizations once, then deploy them over a network, even if individual licenses are used. Carefully planning your AutoCAD 2000 installation is important to ensure smooth and efficient migration.

Plotting was extensively enhanced in AutoCAD 2000. Plotting features provide more control and standardization over output and require less work for end users, who will be able to create standard plots without worrying about configuration details. Taking time to understand AutoCAD 2000 plotting changes will help you make intelligent decisions when migrating drawing files and configuring AutoCAD 2000. For more information, see Plotting Enhancements and Converting Drawing Files.

Options for Network Deployment

AutoCAD 2000 provides several network deployment options. You can perform standard or custom installations at each workstation, or you can run AutoCAD 2000 over the network. In many cases, you can combine methods to meet the needs of different end users, for example, when configuring both workstations and portable computers.

Standard Installations
The fastest and easiest way to install AutoCAD 2000 is to create a base configuration that end users can use to install AutoCAD 2000 from a network drive to their computer. This method copies AutoCAD 2000 onto the user's local hard drive without any interaction on their part. After AutoCAD is installed, users can make customizations. If you plan to do a standard installation at each network workstation, consider using the AutoCAD 2000 Migration Assistance Network Deployment tool. (You cannot use this method for individually licensed copies of AutoCAD 2000.)

Custom Installations
End users can modify AutoCAD 2000 during installation. The same installation type choices are available for single and multiple user installations. This option benefits power users and accommodates any special installation needs required by certain user computers.

Running AutoCAD over the Network
To save disk space and to guarantee that all users work with an identical AutoCAD 2000 configuration, you can run AutoCAD 2000 from a server with only icons and a few other files stored on local machines. You can deploy and execute AutoCAD 2000 from different servers to ease the load on the executing server. This deployment method offers users immediate access to any future configuration changes and customizations. The advantage to you as an administrator is you only need to manage one copy of AutoCAD 2000.

Tools Available for Network Deployment

Even if you use individual licenses, you can deploy AutoCAD 2000 over a network to avoid repeating customizations at every workstation. Autodesk provides two tools for deploying AutoCAD 2000. You can install individual AutoCAD 2000 licenses using the installation wizard on the AutoCAD 2000 CD, or you can use the Network Deployment Tool. With the deployment tool, you do not enter an authorization code until after the copy is installed on the client machine. Individually licensed copies of AutoCAD 2000 cannot be deployed using the AutoCAD Network Installation tools.

Network Deployment Tool
AutoCAD 2000 Migration Assistance offers the Network Deployment Tool for distributing a configured AutoCAD 2000 across a network. You can fully configure AutoCAD 2000 and any customizations, including third party applications, prior to deployment. Unlike the AutoCAD installation wizard, though, this tool does not migrate any settings or profiles from the local machine. Each configuration must be created in the same OS as the client machine. The Network Deployment Tool installs a fully configured AutoCAD 2000 on a machine without user interaction.

AutoCAD Network Installation Tools
Use the Network Setup wizard on the AutoCAD 2000 installation CD to create a base version of AutoCAD for deployment. This base may include configuration settings available in the installation wizard such as typical, compact, custom, or complete installation. For different installation types, a deployment configuration directory is created with a common directory for files common to all configurations. The common directory is new in AutoCAD 2000. It saves space on the deployment server.

After installation is complete, end users can install AutoCAD 2000 on their own machines as described in the Options for Network Deployment section. This deployment method is OS independent. For detailed information see "Running the Network Setup Wizard" in Chapter 3 of the Installation Guide.

File Locking and Protection

AutoCAD 2000 uses the operating system to lock files, which means users can now open locked files as read only. For external reference files (Xrefs), AutoCAD 2000 has three available modes, which you set on the Open and Save tab in the Options dialog. Keep in mind that if you use AutoCAD 2000 in a mixed release environment, file-locking behavior will not be consistent. For information about setting this option, see "Protecting Your Files on a Network" in Chapter 3 of the Installation Guide.

Environment Changes

The AutoCAD 2000 environment has many improvements. Because AutoCAD is frequently customized, these improvements will affect older scripts and AutoLISP programs. The following list of changes includes suggestions for changing system variables and commands in AutoLISP scripts when migrating to AutoCAD 2000. See New, Retired, and Changed Commands and New, Retired, and Changed System Variables for complete lists of changes.

This section highlights command and environment changes that will likely affect script and custom utility migrations. Command types are grouped together, whenever possible. You can use the AutoCAD 2000 Migration Assistance AutoLISP Compatibility Analyzer tool to quickly locate AutoLISP code that may be affected by these and other changes. For more information on tools and techniques for migrating existing customization and AutoLISP programs, see Customization Migration. The following index is provided for fast access.

ASI & Database Connectivity Lineweights
Dimensioning Changes Multiple Design Environment
Publishing Drawings on the Web Options (Preferences and Config Commands)
Extended Symbol Names Partial Open and Partial Load
File Output Format Changes Picking Enhancements (Solids editing)
Hyperlink Changes Right click support
Controlling Hyperlink Access Status Bar Additions
Layer Enhancements UCS and View Enhancements
Layouts Viewport Enhancements

Hardware Environment Changes

Display and plotting systems in AutoCAD 2000 were enhanced, and the interaction between AutoCAD 2000 and Windows was improved. These improvements eliminate the need for some drivers and moved some device configurations from AutoCAD to the Windows operating system.

Display drivers: AutoCAD is automatically configured for the HEIDI 3D Graphics Display System (GSHEIDI10). With this system, users can optionally work in shaded mode while creating and editing drawings and rotating their models in real-time. Some 3rd party accelerator board vendors may provide HDI hardware drivers, which may increase the speed at which lines are drawn on the screen. Users can set third party HDI driver properties by selecting 3D Graphics Display Properties on the System tab of the Options dialog.

Plotter drivers: The plotting engine was rewritten to provide users with greater control when they plot drawings. AutoCAD supports two types of plotter drivers: the Windows system printer drivers and the Autodesk HDI plotter drivers. AutoCAD ships with several Autodesk HDI plotter drivers as well as some third party Windows system printer drivers. ADI 4.2 and 4.3 plotter drivers are no longer supported.

Installing Plotters: You install Windows system printers using through the Windows Add-a-Printer wizard accessed from the Windows Control Panel. You install AutoCAD HDI plotter drivers using the AutoCAD Add-A-Plotter wizard. You can access the wizard from the Plotter Manager (on the Files menu, select Plotter Manager) or the Plotting tab of the Options dialog (on the Tools menu, select Options). Installing an Autodesk HDI plotter driver creates a plotter configuration file (PC3) file. You can then select a default plotter for new drawings in the Options dialog. You can also select any of the Windows system printers or any of the configured AutoCAD HDI plotter drivers (PC3 files) from the Plotter dropdown list provided in the Plot and Page Setup dialogs. Some manufacturers may make additional AutoCAD HDI plotter drivers available. AutoCAD 2000 supports shortcuts, so you can place configuration files on a network drive for access by your users.

Digitizer drivers: AutoCAD only supports the system pointing device or Wintab-compatible ADI 4.2 digitizer drivers. Older Autodesk-supplied drivers will not work with AutoCAD 2000. Wintab is a Windows specification used by independent developers to make digitizing tablets available as both a system pointer and a pointing device. The drivers are not distributed with AutoCAD 2000. If you use a Wintab compatible driver, it must be 32-bit and it must work properly with Windows to work with AutoCAD. Make sure that the Wintab driver is configured for the correct digitizer model and the correct number of puck buttons.

Working Environment Enhancements

The AutoCAD 2000 Multiple Design Environment and new Layouts feature add functionality to AutoCAD without changing the normal editing commands. If you are using customization and scripts, however, these new features may require special consideration and a few minor customization changes.

Multiple Design Environment
AutoCAD 2000 offers a Multiple Design Environment (MDE). In MDE, you can open multiple drawings in a single AutoCAD session, which is known as a Multiple Document Interface (MDI). MDE allows you to use the Property Painter and drag and drop functions between drawings. To support MDE, some system variables are now saved in the Windows registry instead of the drawing. If this causes problems with scripts, you can switch AutoCAD 2000 from multiple to single document mode using the SDI system variable. You can also close the current drawing before opening another.

Visual LISP maintains a separate namespace for each drawing. Therefore, when a function is loaded or a variable set in the namespace of one drawing, it is not automatically available when another drawing is made current. You can load AutoLISP functions automatically when AutoCAD is launched, or launch the functions when you create or open a drawing by placing them in the acad.lsp and/or acaddoc.lsp files, two optional files that you may choose to create for this purpose.

The default behavior of the acad.lsp file has changed and is supplemented by the new acad2000doc.lsp. See AutoLISP and the Multiple Design Environment for more information.

Layouts
AutoCAD 2000 layouts provide multiple paper space views of models. Layouts are accessed through tabs displayed across the bottom of each drawing window (similar to the tabbed sheets in Microsoft Excel). The TILEMODE system variable still switches between the Model tab (TILEMODE=1 mode) and the Layout tab (TILEMODE=0). With multiple layouts in a drawing, the last active layout is made current when TILEMODE is set to 0.

The Layout environment is a WYSIWYG representation of how the drawing will plot. AutoCAD 2000 displays a graphic of the paper size and margins in the background of the layout. When these visual queues are turned on, the limits of the layout are determined by the printable area of the configured plotter and paper size. The LIMMIN and LIMMAX system variables are read-only when in a layout. While the LIMITS command will accept coordinates (for script compatibility), its values are ignored.

Command Access Changes

AutoCAD 2000 has changed access to certain commands. These changes affect how users interact with AutoCAD, but have little impact on scripts and AutoLISP code.

Right click support
By default, AutoCAD 2000 displays a context-sensitive shortcut menu whenever the mouse is right-clicked. Shortcut menus contain commands and options suited to the current action. Shortcut menus are generally one of three types: Command (a command is active when right-click is invoked), Edit (an object is selected; no command is active), and Default (no command is active, no object is selected). In Release 14, pressing the right mouse button was equivalent to pressing the Enter key. Users who prefer Release 14 behavior can customize right-click by selecting Right-Click Customization on the User Preferences tab of the Options dialog box.

Status Bar Additions
Additional buttons were added to the status bar and most support a right-click menu. The SNAP command supports a new polar snap type, which is used in conjunction with the new polar tracking feature and also supports the grid snap type. The POLAR and OTRACK buttons toggle polar tracking and object snap tracking on and off. Polar and object snap tracking are part of the new AutoTrack feature, which replaces the functionality of Tracking (TK), which was accessible from the shift-right-click menu. Release 14 tracking is supported for compatibility with scripts, but is no longer documented or in menus.

Command Changes and Enhancements

This section describes major command enhancements. You should consider all AutoCAD 2000 as possible compatibility issues that may require changes in scripts and AutoLISP routines.

Options (Preferences and Config Commands)
The PREFERENCES command was renamed OPTIONS to conform to Windows standards. The PREFERENCES and CONFIG commands alias the OPTIONS command in the acad.pgp file. The Options dialog was expanded and contains controls for many of the system variables in AutoCAD. A drawing icon placed next to the individual controls in the dialog indicates that the system variable is saved in the drawing. Some controls were moved to different tabs.

Viewport Enhancements
AutoCAD 2000 supports non-rectangular viewport objects in layouts. You can convert closed objects, such as polylines, circles, ellipses, and regions, to viewport objects and clip existing rectangular viewports. The viewport object and its clipping boundary object are associated together with reactors. When a clipped viewport is selected, both the viewport object and the clipping object are selected.

Publishing Drawings on the Web
DWF is a highly compressed 2D vector format used to publish AutoCAD drawings on the World Wide Web. In Release 14, you created DWF files using the DWFOUT command. In AutoCAD 2000, DWF files are created using the plotting interface. The enhanced DWF format allows users to create DWF files from layouts, and the DWF format supports layer manipulation through a browser interface.

AutoCAD 2000 is installed with two default DWF plotter drivers: classic.pc3 and eplot.pc3. You use the Plotter Configuration editor to configure DWF file format options, such as binary/ASCII, precision, compression, and others. Limited support is provided for DWFOUT to maintain compatibility with scripts you may be using. However, the command will be dropped in future AutoCAD releases.

Lineweights
Lineweight is now an object and layer property. Twenty-four predefined lineweights are available, plus 0, BYLAYER and BYBLOCK for a total of 27. When you save a drawing to a previous release format, the lineweight object is stored in an extension dictionary and restored when the drawing is reopened in AutoCAD 2000. To plot with custom lineweights, use plot styles.

Layer Enhancements
Layers now contain lineweight, plotstyle, and plot properties. A layer's lineweight and plotstyle is applied to objects that have their lineweight and plotstyle properties set to Bylayer. Layers can be assigned a "do not plot" status. The Layer Properties Manager dialog includes the new layer properties and is now resizable.

Extended Symbol Names
AutoCAD supports long names for named objects. Names can now have up to 254 characters and may include spaces and other previously restricted characters in their names. Named object is the term used for non-graphical AutoCAD data such as block definitions, layers, text styles, dimension styles, linetypes, views, UCSs and other data. In the past, named objects have generally been called "symbols" because many are stored in symbol tables, but they no longer solely reside in symbol tables. Pressing the space bar no longer ends user input when entering named object names, which may affect some scripts and AutoLISP routines. Named objects used in scripts should be in quotes.

The string case of named object names is now preserved in the database, although AutoCAD is case insensitive when validating a name for input in commands and with TBLSEARCH. AutoLISP may need to use (strcase) before comparing the names against an expected value.

If you save a drawing to an earlier release format, object names are automatically shortened to 31 characters when opened in the older AutoCAD version. If saved to a Release 14 format, the original AutoCAD 2000 object name is automatically restored when the drawing is reopened in AutoCAD 2000.

File Output Format Changes
The PSOUT command does not support new AutoCAD 2000 features. It will be supported for a transition, but will be dropped in the next release of AutoCAD. The PostScript printer driver will plot to an EPS file. In some areas the PostScript printer driver does more than PSOUT (it handles raster and OLE entities and it uses standard plot configuration, plot preview, honors Plot Styles, etc). In other areas the PostScript printer driver does less than PSOUT (it renders text as polygons or vectors, and it renders polylines as polygons and give the user more control).

The ACISOUTVER system variable controls the version of the SAT file format. The default value in AutoCAD 2000 is 40. Set the variable to 16 to get the same version format as Release 14.

UCS and View Enhancements
UCS and view control functionality were extended and new options were added to the UCS and VIEW commands. Several system variables were added to enhance the UCS and View capabilities:

  • UCSVP: When set to 1, the viewport remembers an assigned UCS and restores it when the viewport is made current. When UCSVP is set to 0, The viewport always reflects the current UCS.

  • UCSVIEW: When set to 1, saves the current UCS with the view when a view is created. When that view is restored, the UCS is also restored.

  • UCSBASE: Defines the UCS "base" to which views and UCSs are defined. World is the default UCS base. The UCSORTHO system variable restores an orthographic UCS when an orthographic view is restored.

Release 14 scripts and AutoLISP routines from previous releases should be changed as needed to account for new UCS variables. The Start from Scratch setting for new drawings and template files that ship with AutoCAD 2000 all set the UCSVP, UCSVIEW, and UCSORTHO variables to 1, and you may need to set them to 0 to maintain the intended behavior of your customization.

ASI & Database Connectivity
The AutoCAD 2000 database connectivity feature has a new interface. The interface is easier to use and more powerful. The following ASI AutoLISP functions were removed: ASI_GETCFG, ASI_SETCFG, ASI_CMDTYPE. The following ASI AutoLISP functions were changed: ASI_CONNECT, ASI_ALLOC. See Changes to AutoLISP for more information.

The following ASE commands were discontinued: ASEADMIN, ASEEXPORT, ASELINKS, ASEROWS, ASESELECT, ASESQLED. Use the DBCONNECT command and menu items in the dbCONNECT pulldown menu instead.

Partial Open and Partial Load
You can partially open drawings saved in AutoCAD 2000 format. You can also choose to only load objects that reside on specified layers or within a specified view. If a drawing is partially open, scripts and AutoLISP routines that select objects will only be able to select the objects that are loaded in the drawing. The command, SSGET "X", selects only the objects that are currently loaded.

AutoTrack & New Object Snaps
AutoTrack, which includes polar tracking and object snap tracking, only affects point selection when you pick points with the pointing device on screen. Unlike object snaps, AutoTrack does not affect coordinate input at the keyboard or through scripts, regardless of the OSNAPCOORD system variable setting. The new Parallel and Extension object snaps only use the AutoTrack tracking vector. They are not affected by the OSNAPCOORD system variable setting.

Picking Enhancements (Solids editing)
You can use the new SOLIDEDIT command and new Face option of the UCS command to select the faces of solid objects by picking anywhere inside a face.

Dimensioning Changes
The interface for working with dimensions in AutoCAD 2000 has been completely redesigned. The DDIM dialog has been replaced with a six-tabbed dialog. That dialog is called the New, Modify, or Override Dimension Style dialog, depending on the action taken to display it. DIMSTYLE displays the new Dimension Styles Manager dialog. DIMSTYLE replaces the DDIM command (DDIM is aliased in the acad.pgp file). To use the command line interface of the Release 14 DIMSTYLE command, enter -DIMSTYLE. Scripts and command functions will continue to call the command line interface version of the command.

Exploded dimensions now remain on the layer on which they reside when exploded. (In Release 14, exploded dimensions were placed on layer 0.)

The DIMFIT system variable was replaced by the new DIMTMOVE and DIMATFIT system variables. DIMFIT is still available for compatibility with scripts and AutoLISP routines.

The DIMUNIT system variable was replaced by the new DIMLUNIT (Dimension Linear Unit) and DIMFRAC (Dimension Fraction Format) system variables. DIMUNIT is still available for compatibility with scripts and AutoLISP routines. DIMFIT and DIMUNIT are no longer written to DXF files.

Web Access

AutoCAD supports both absolute and relative hyperlinks. Absolute hyperlinks store the full path to a file location. Relative hyperlinks store a partial path to a file location relative to a default UR or the directory specified by the HYPERLINKBASE system variable.

Controlling Hyperlink Access
Hyperlinks can point to files that are stored locally, on a network drive, or on the Internet. You can disable the hyperlink cursor and shortcut menu display on the User Preferences tab of the Options dialog box.

Hyperlink Changes
The command names and UI for attaching and working with URLs has changed. URLs are now called Hyperlinks. ATTACHURL now aliases the HYPERLINK command. The INSERTURL, INETCFG, INETHELP, LISTURL, OPENURL, SAVEURL, and SELECTURL commands were removed or are aliased. They will not run in scripts or with the (command) function. See the Command Differences tables for details.

Customization Migration

Modifications to existing menus, scripts, and AutoLISP code will maximize their effectiveness in the AutoCAD 2000 environment. Migrating some customizations to AutoCAD 2000 may be necessary for them to operate. This section describes tools to help you migrate custom menus, scripts, the acad.pgp file, and AutoLISP code. Two migration tool types are available:

  • Tools that analyze files for compatibility issues,
  • Tools to assist in editing files so you can easily transfer customizations from older release files to AutoCAD 2000 files.

For a list of available tools, see Migration Tools and Wizards. Tools for migrating ADS and Object ARC applications are provided in the ObjectARX for AutoCAD 2000 SDK.

Environment Changes lists the specific commands that have changed, as well as other changes to the AutoCAD 2000 environment. New, Retired, and Changed Commands and New, Retired, and Changed System Variables list all commands and system variables were changed in AutoCAD 2000. Changes to AutoLISP provides a list of changed AutoLISP functions and describes other changes to these development environments.

Checking AutoLISP and MNL files for AutoCAD 2000 Compatibility

The AutoLISP Compatibility Analyzer opens AutoLISP and MNL files and checks them for compatibility with AutoCAD 2000 commands, system variables, and AutoLISP command sets. The analyzer highlights commands and variables that are out of date and may suggest changes.

See Environment Changes for changes you need to make to bring your code into full compatibility with AutoCAD 2000.

Migrating Existing Menu and PGP Customizations

The Menu and Toolbar Porter tool and the Command Alias (PGP) Porter tool help you migrate menu and toolbar customizations and additions to the acad.pgp file. These tools display the older AutoCAD file and the equivalent AutoCAD 2000 file side by side. You can incorporate changes by dragging the contents of one file into the other.

Deploying Customizations

You can use the Network Deployment Tool to automatically deploy a fully customized version of AutoCAD 2000 over the network. For more information, see Tools Available for Network Deployment in Installation, Configuration, and Registration.

Converting Drawing Files

This section provides reasons for converting drawings from earlier AutoCAD release formats to the AutoCAD 2000 format, and describes methods and tools to assist in the conversion. For information on converting drawings to optimize use of the new plotting utilities, see Plotting Enhancements. Unless you have Release 12 users, consider migrating any Release 12 drawings and blocks to AutoCAD 2000 to take advantage of the benefits provided by the new drawing format.

Why Convert Existing Drawings and Blocks?

AutoCAD 2000 drawings contain features that make file management easier. You can use the Windows Explorer and the new AutoCAD 2000 DesignCenter to view information stored in files even if the files are not open. If you right-click a file in Windows Explorer, summary information entered by the drawing author is displayed. The information is similar to Microsoft Office documents. DesignCenter accesses drawing objects and drawing properties. You can use DesignCenter to search through files for content, even when the files are not open. However, to take advantage of these features, drawings must be in AutoCAD 2000 format. If drawings are in Release 12 format, the drawing preview in the Open file dialog will not function.

The AutoCAD 2000 Partial Open and Partial Load features speed up file loading because they load only requested drawing sections into the editor. The editor runs faster. When a whole drawing is selected, it opens faster when AutoCAD does not have to convert the file from an older format. You can save AutoCAD 2000 drawings in Release 14 format with full round trip compatibility. Saving drawings to Release 13 format will guarantee the data, however objects unique to the later versions may not translate completely. The AutoCAD 2000 Migration Assistance Batch Drawing Converter will translate AutoCAD 2000 drawings to Release 12 format.

You can perform the plotting style conversion at any time. However, you can use the Batch Drawing Converter to assign a uniform plot style at one time, thereby minimizing user confusion and questions. Using the Batch Drawing Converter with a standardized plot style will ensure your older files plot consistently.

Autodesk provides many tools to share AutoCAD drawings. You can download viewers from the Autodesk web site, and you can save files in web viewable formats. Converting drawings maximize an organization's ability to share information in a variety of formats that best suit project needs. Drawings that have the same format are easier to manage. Handling drawings is faster and easier when they do not have to be converted, and data integrity is assured.

What is Changed in Conversion

The AutoCAD 2000 drawing format has changed. It is not compatible with older releases without conversion. Additional group codes were added to the DXF format to reflect the new features and enhancements in this release. Drawing file size may increase slightly during conversion.

AutoCAD 2000 data saved in Release 14 format is stored as proxy information. If you save an AutoCAD 2000 drawing as Release 14 format, the AutoCAD 2000 information is restored when you reopen the drawing in AutoCAD 2000. However, if changes are made to the drawing using Release 14, some AutoCAD 2000 data may be lost. For example, if the names of named objects (layers, linetypes, text styles, blocks, etc.) are edited in Release 14, the names will maintain their Release 14, 31-character names when the drawing is reopened in AutoCAD 2000.

Tools for Migrating Drawings

AutoCAD 2000 automatically converts drawings and DXF files from Release 12, 13, and 14 when they are opened in AutoCAD 2000. AutoCAD 2000 can save drawings as Release 14 and 13 DWG files, and it can save drawings as Release 12 through 14 DXF files.

You can use the AutoCAD 2000 Migration Assistance Batch Drawing Converter tool to convert one or more drawings at a time. The tool will translate DWG and DXF files in either direction between Releases 12, 13, 14, and AutoCAD 2000 format. You can also use the Script Pro tool to run scripts on a set of drawings.

Converting Pen Widths to Lineweights
The Batch Drawing Converter provides an option to convert pen widths to lineweights. See the AutoCAD 2000 Migration Assistance online Help for more information.

Setting Plot Styles During Drawing Conversion
AutoCAD 2000 provides two methods for plotting color: named plot styles and object lineweights. Both methods require users to change the way they work, and you must convert older release drawings to AutoCAD 2000 to use the new plotting methods.

You can use the Options dialog box to configure plot style types for any new drawing or for any drawing converted to AutoCAD 2000. The Batch Drawing Converter tool only sets color dependent plot styles when it converts drawings. The Color to Plot Style Converter tool converts color dependent plot styles to named plot styles.

Taking time to understand the new plotting mechanisms is time well spent. AutoCAD 2000 plotting make office standards easier to configure, use, and maintain.

Plotting Enhancements

This section explains plotting and related features in AutoCAD 2000. In addition to this information, you may choose to be guided through new plotting concepts with the Plotting Help topics when you first use the PLOT command in AutoCAD 2000.

Plot settings and plot areas are now managed more flexibly:

  • Color to output (pen mappings and pen screening), which were stored in PCP, PC2 and the Release 14 configuration file, is "Plot Styles" in AutoCAD 2000

  • Paper space has been enhanced with a new Layouts feature. Layouts give you the option to create multiple "layouts," similar to separate pages in a drawing file, to clearly distinguish areas to plot.

  • "Page Setups" give the user the option to assign unique settings to each layout, including plotter device configuration settings (PC2 file).

Plotting in AutoCAD 2000 is more flexible and extendible. The new WYSIWYG layouts, accompanied by Page Setups, ensure that drawings are plotted correctly and consistently. Precise plotting information is saved for each layout within the drawing file. The new features provide more flexibility and control over output with an interface familiar to users, most of whom have experience with Page Setups in other software applications.

Changes were made at two levels. The way pens are mapped to entities in the drawing has been expanded, although the older methods are still fully supported. Plotting information is distributed across three files to provide greater flexibility, less redundancy, and more reliability.

Using Plot Styles

Plot style is a new property that can be assigned to objects and layers. Plot styles control how objects plot, which does not necessarily coincide with how they are displayed in AutoCAD. They allow for the use of color while providing more functionality than object lineweight. Plot styles also provide the ability to change the lineweight, screening, fill patterns, and six other object properties when a drawing is plotted.

Plot styles are defined in plot style tables. You must create the table before you can assign a plot style. Plot style tables give you the ability to change lineweights, screening, fill patterns and other properties every time you plot. For example, you can plot a drawing in color for a presentation to clients, then plot the same drawing in black and white for the construction site or shop floor. By assigning different plot style tables to a drawing or to different layouts within a drawing, you can change how drawings are plotted. You can use plot styles in either named plot style or color dependent plot style modes.

When you create a drawing, you assign plot styles to layers and objects as you would any other object properties. You can also assign and modify plot styles after a drawing is completed. Objects that do not have plot styles assigned to them will plot as they appear on screen.

C

Color dependent plot style mode
Color-dependent plot style mode emulates the Release 14 color dependent plotting behavior. Color-dependent plotting mode uses plot styles, but AutoCAD manages the plot style names. A fixed plot style name is automatically assigned to every layer or object that is based on its color. If an object or layer color is changed, the plot style name automatically changes to match the color. A plotting wizard migrates all Release 12, Release 13, and Release 14 pen settings to color dependent plot style tables. You can create additional color dependent plot style tables and attach them to drawings to change their plotting characteristics.

Named plot style mode
You can create a Named Plot Style table to store a set of plot styles, then attach the table to a drawing layout. You can then assign plot styles in the table to drawing objects and layers. You can view plot styles applied to the drawing in plot preview and in a layout before plotting the drawing. By attaching different plot style tables, you can plot the drawing with different plot characteristics.

Layouts

You can view AutoCAD 2000 drawings in two main ways. Model space is the space in which you create a drawing. You access model space from the Model tab on the drawing window. Layouts are created in paper space. A layout is a WYSIWYG paper space view of the drawing. You can create multiple layouts, and access each one from Layout tabs on the drawing window. AutoCAD 2000 creates one layout automatically. You can create additional layouts to provide more paper space views. You can copy and rename layouts within and between drawings. Paper space from older drawings are placed on the Layout 1 tab.

Layouts and their page setups save all "what to plot" information with the drawing, whereas in Release 14 "what to plot" information was saved in the acad.cfg or .pc2 files. You can set up a single drawing with layouts for every "what to plot" configuration. You can also set up layouts for use as templates. Templates will save time, because users do not need to configure each plot and will not need training on how to configure the "what to plot" plotting section. Layouts also eliminate the need for separate "sheet files" to plot separate views of a project.

Plotter Configuration Changes

The AutoCAD 2000 Plotter Manager creates, stores, and modifies plotter configuration files (PC3) and provides tools to manage these tasks. The Add Plotter wizard steps you through the configuration of new plotting devices. You can configure existing devices using a Windows dialog box, which makes AutoCAD plotting configuration similar to configuring printers for other Windows applications. You can copy individual hardware settings and paste from one setting to another. Unlike previous AutoCAD releases, you can configure hardware independently of the plot style and layout.

Changes in Plotting File Structure

AutoCAD 2000 changes the way plotting information is stored. By separating the hardware configuration information and the plot style tables, users can rapidly change a plot without having to repeat configuration information. The new AutoCAD 2000 layouts replace the Release 14 "what to plot" plotting specifications. Changes in plot file structure are shown in below.

D

Implementing Plotting Standards

Although users familiar with color dependent style plotting may be reluctant to move to named style plotting, named style plotting offers more control. Understanding AutoCAD 2000 plotting will help you implement the best plotting standards for your organization.

Migrating Existing Plotter Configurations
AutoCAD Releases 12 through 14 used PCP files. AutoCAD Release 14 used PC2 files. You can import the following settings from PCP and PC2 files: pen optimization, plot to file configurations, paper size and orientation, resolution, device name, and plot destination (with the port or network share name). You can import PCP and PC2 pen assignments into plot style tables, and import plot area and scale information into a layout using the Add Plot Style Table and Import R14 Plot Settings wizards. (To start a wizard, select Wizards from the Tools menu.) You must reconfigure hardware for AutoCAD 2000.

Plot Styles reference lineweights instead of pen assignments. Lineweights facilitate the display of the drawing in layouts when assigned to layers and plot styles. Compare your previous release pen widths with the lineweights provided in AutoCAD 2000. If any of your previous pen widths do not coincide with these new lineweights, you may add precise lineweights to the table, or allow them to be rounded off to the nearest available lineweight.

Creating Plot Configurations
In Release 14, plot configurations were created as a single entity. In AutoCAD 2000, creating a plot configuration involves three components: plotter configuration, plot style, and layouts. However, after you duplicate a Release 14 plot configuration in AutoCAD 2000, you only must modify one the components.

Plot Styles: The plot styles dialogs provide a clear view of the plotting style before you plot a drawing and makes plot style changes easy to do. Copying and editing plot styles saves time when only few changes are needed. Unlike hardware configuration files, which most likely will reside on the same network as their devices, plot style files may be used locally, which is useful for portable or other computers that are often disconnected from the network.

Layouts: Many layouts can be configured in one drawing. Time spent creating a comprehensive set of configurations can save many hours answering user questions and even more hours for users who have to set up their own plots.

Prototype drawings can accurately encapsulate many different plotting needs. Because layouts are easy to copy from one drawing to another, creating one drawing with all the needed layouts may be faster and less prone to error than creating many prototype drawings with redundant layouts.

Plotter Configuration: You must configure all plotters for AutoCAD 2000. You can place plotter configuration (PC3) files on a network drive and access them through shortcuts. This makes plotter configuration easier, because changing and saving the plotter configuration on the network changes the configuration for all AutoCAD 2000 licenses on the network.

Tools and Information

AutoCAD 2000 plotting has many migration and configuration options. The following tools, wizards and documentation sources will help you migrate and develop plotting standards for your organization. AMA indicates an AutoCAD 2000 Migration Assistance tool. AutoCAD 2000 Migration Assistance is installed with AutoCAD 2000. You start an AMA tool by selecting it from the Start menu.

  • Batch Drawing Converter (AMA) translates pen weights to lineweights and converts older release drawing files to AutoCAD 2000 format.
  • Color to Plot Style Converter (AMA) converts color dependent plot style drawings to named plot style drawings. This tool requires AutoCAD 2000 to be present on the system.
  • AutoCAD 2000 Installation converts the acad.cfg file and any PC2 files to PC3 files.
  • Add Plotter wizard steps you through plotter configuration. To start the wizard, select Wizards from the Tools menu.
  • Add Plot Style Table and Add Named Plot Style Table wizards step you through new plot style creation. The wizard is accessed from the AutoCAD 2000 Tools menu.
  • Create Layout wizard steps you through the layout creation process. To start the wizard, select Wizards from the Tools menu.
The following AutoCAD 2000 documentation and training resources provide additional migration and plot setup information:
  • Users Guide: Chapter 16 describes AutoCAD 2000 plotting concepts and procedures.
  • Installation Guide: Chapter 6 explains how to configure and maintain device configuration files and plot style tables. This chapter also describes advanced plotting features for production plotting.
  • White papers: You can download white papers from the Autodesk website, including "Fast Track to Plotting Your First Drawing," and "Unleashing the Power of Plotting."
  • AutoCAD 2000 Learning Assistance: "Creating and Plotting Layouts Faster" is a multimedia tutorial that steps users through the creation and plotting of AutoCAD 2000 layouts.

Working in a Mixed Release Environment

As you upgrade your network to AutoCAD 2000, you may go through a transition period when you must support AutoCAD 2000 and older releases of AutoCAD. During this period, you can set some AutoCAD 2000 commands and features to emulate Release 14 behavior. You should instruct AutoCAD 2000 users on how to save drawings so that they can get the most out of new AutoCAD 2000 features and still have the drawings available to team members with an older AutoCAD release.

Hardware Compatibility

Plotter drivers: ADI 4.2 and 4.3 plotter drivers are not supported.

Digitizer drivers: AutoCAD only supports the system pointing device or Wintab Compatible ADI 4.2 digitizer drivers. Older Autodesk supplied drivers will not work with AutoCAD 2000.

For more information, see Hardware Environment Changes in the Environment Changes section.

AutoCAD 2000 System Variables to Set for Release 14 Responses

In AutoCAD 2000, names of named objects (layers, linetypes, text styles, etc.) can have up to 254 characters. To emulate the 31-character limit of Release 14, change the EXTNAMES system variable to 0. When set to 0, the space bar continues to end user input and users cannot create named object names greater than 31 characters. Named object names greater than 31 characters will not be truncated when inserting AutoCAD 2000 drawings into other AutoCAD 2000 drawings (even if EXTNAMES is set to 0), but they will be shortened when the drawing is saved to an older format.

If you set the SHORTCUTMENU system variable to 0, right clicking the pointing device is the same as in Release 14, that is, it is the same as pressing Enter.

You can turn off paper background and margins in layouts to emulate Release 14 display and LIMITS behavior. This setting is in the Display tab of the Options dialog.

AutoLISP and AutoCAD 2000 System Variables
Users may need to set the SDI system variable to 1 to get Release 14 behavior when running scripts and AutoLISP routines, or they must close the current drawing before opening another.

Scripts, old AutoLISP routines, and menus that make use of the TILEMODE system variable must be updated for layouts. The CTAB system variable returns and sets the current tab (Model or Layout).

Users running Release 14 scripts and AutoLISP routines must account for new UCS variables and set them to 0. The Start from Scratch option for new drawings and template files that ship with AutoCAD 2000 all set the UCSVP, UCSVIEW, and UCSORTHO variables to 1.

For more information, see Command Changes and Enhancements in Environment Changes.

Release 14 System Variable Settings

If the PROXYNOTICE system variable is set to 1 in Release 14, the proxy notice dialog is displayed when drawings saved in Release 14 format in AutoCAD 2000 are opened by Release 14. The proxy notice dialog reminds the user that proxy data is contained in the drawing.

Handling Drawings in a Mixed Environment

Managing the use of AutoCAD 2000 features can make sharing drawings in a mixed environment easier.

AutoCAD 2000 Layouts and Viewports
Users editing the same drawings in both Release 14 and AutoCAD 2000 may wish to limit their use of AutoCAD 2000 layouts and viewports. Non-rectangular viewports are displayed as rectangular viewports in Release 14 and Release 13. The clipping boundary is also displayed as a separate object and can be edited. When a drawing saved as Release 14 is re-opened in AutoCAD 2000, the clipped viewport is re-displayed and it reflects any edits made to the clipping boundary. When a drawing saved as Release 13 is opened in AutoCAD 2000, the association between the viewport object and its clipping boundary is lost. The viewports are no longer clipped, but their disassociated clipping objects are displayed as they were in Release 13.

The last active layout is the paper space that is accessible when the drawing is saved in Release 14 or Release 13 format. The additional layout data is stored as proxy information, and is restored when the drawing is opened in AutoCAD 2000.

DWG Compatibility: Opening and Saving Previous Version Drawings
AutoCAD 2000 can directly open DWG files from Release 13 through Release 14 and DXF files from Release 12 through Release 14. When you open an older release drawing in AutoCAD 2000, it is automatically converted to the AutoCAD 2000 format.

Because AutoCAD 2000 has many new features and enhancements, the drawing format has changed. Additional group codes were added to the DXF format. When you save a drawing in AutoCAD 2000, you can save it in AutoCAD 2000, R14, or R13 format. You can also save DXF files to AutoCAD 2000, R14, R13, and R12 DXF file format.

New data stored in the AutoCAD 2000 format is "round-tripped" when saved in R14 format unless the drawing is altered while in R14. This means that the data is not lost when a drawing is saved in R14 format and then re-opened again in AutoCAD 2000. AutoCAD 2000 data that is not supported in R14 is stored as proxy or extended data information in R14. Some data (such as multiple layouts) will not be displayed in R14, but the data is not lost. For example, non-rectangular viewports in AutoCAD 2000 will appear as rectangular viewports in R14, but will reappear as originally authored when re-opened in AutoCAD 2000. If the PROXYNOTICE system variable is set to 1 in R14, AutoCAD Release 14 will display the proxy notice dialog when you open drawings saved in R14 format while in AutoCAD 2000. This dialog reminds you that proxy data is contained in the drawing.

If users in your organization are editing the same drawings in both R14 and AutoCAD 2000, they should limit their use of some new AutoCAD 2000 features until all members of the project team are working with AutoCAD 2000. When drawings are saved in R13 format, AutoCAD does not guarantee that all the data will be round-tripped.

Migration Resources

The following table lists resources to help you migrate to AutoCAD 2000. Resources are listed below with abbreviations in parentheses. To order additional documentation, see Ordering Additional Manuals.

  • White papers (WP). White papers are available from: http://www.autodesk.com/products/whtpaper/index.htm.
  • User's Guide (UG). Printed copies are provided with each AutoCAD 2000 license. You can also access the User's Guide from the Help menu.
  • Installation Guide (IG) Printed copies are provided with each AutoCAD 2000 license. You can also access the Installation Guide from the Help menu.
  • Visual LISP Developer's Guide (VLG) provides information about writing Visual LISP programs. This guide can be viewed from the Help menu, and you can order printed copies separately.
  • Customization Guide (CG) provides user and developer support for customizing AutoCAD 2000. The documentation covers both creating new library entities, such as hatch patterns and line types, and scripting and programming. This guide can be viewed from the Help menu, and you can order printed copies separately.
  • AutoCAD 2000 Migration Assistance (AMA) provides a brief description of each AMA tool. Each tool has online Help, which you can access by clicking the tool's Help button.
  • AutoCAD 2000 Learning Assistance (ALA). The AutoCAD 2000 Learning Assistance CD, included with each AutoCAD license, provides self-guided multimedia training for new and experienced users.

Topic
Chapter
Section
Source
Assessing Your Current Installation
.
Productivity and Performance
WP
        Introduction
Chapter 1
"System Requirements"
IG
        Introduction
Chapter 3
"Autodesk License Manager"
IG
Cataloging Existing Copies of AutoCAD
.
Serial Number Harvester Help
AMA
Installation, Configuration, and Registration
 
 
 
        Before Installing On Top of
        Release 14
.
Descriptions of AMA tools
AMA
        License Management Options
        and Registration
Chapter 3
Overview and applicable sections
IG
        License Management Options
        and Registration
.
Productivity and Performance
WP
        AutoCAD Network Installation
        Tools
Chapter 3
"Running the Network Setup Wizard"
IG
        License Management Options
Chapter 3
"Running the Network Setup Wizard" and "Licensing AutoCAD on a Network"
IG
        File Locking and Protection
Chapter 3
"Protecting Your Files on a Network"
IG
Environment Changes
 
 
 
Customization Migration
 
 
 
Converting Drawing File
.
Batch Drawing Converter Help
AMA
Plotting Enhancements
 
 
 
        Tools and Information
Chapter 16
Overview and applicable sections
UG
        Tools and Information
 
Overview and applicable sections
IG
        Tools and Information
ALA
Creating and Plotting Layouts Faster
ALA
        Tools and Information
WP
Plotting for the first time
WP
Working in a Mixed Release Environment
 
 
 
Migration Resources
 
 
 
New, Retired, and Changed Commands
 
 
 
New, Retired, and Changed System Variables
 
 
 
Changes to AutoLISP
VLG
Overview and applicable sections
VLG
AutoCAD Release 14 Custom Files Directory
 
 
 
New Group Codes for Objects and Other Changes
 
 
 
        Introduction
VLG
AutoCAD Visual LISP Help
LISP
        Introduction
CG
Customization Guide
CG
Migration Tools and Wizards
 
 
 

Ordering Additional Manuals

You can order printed copies of the following manuals. See the information shipped with the product or contact your dealer for ordering information and pricing.

Title Online Help With Product
AutoCAD 2000 ObjectARX Developers Guide    
AutoCAD 2000 Visual LISP Tutorial Yes  
AutoCAD 2000 Visual LISP Developer's Guide Yes  
AutoCAD 2000 ActiveX and VBA Developer's Guide Yes  
AutoCAD 2000 User's Guide Yes Yes
AutoCAD 2000 NT/95/98 Installation Guide Yes Yes
AutoCAD 2000 NT/95/98 Migration Guide    
AutoCAD 2000 NT/95/98 Command Reference Yes  
AutoCAD 2000 NT/95/98 Customization Guide Yes  
AutoCAD 2000 Migration Assistance (AMA) CD (US)   See note
AutoCAD 2000 Learning Assistance (ALA) CD (US) N/A Yes
AutoCAD 2000 NT/95/98 CD (US) N/A Yes

     Note: AutoCAD 2000 Migration Assistance may be on the AutoCAD 2000 CD in some cases.

New, Retired, and Changed Commands

Many AutoCAD 2000 commands have both a dialog and command line interface (CLI). For most of these commands, preceding the command with a hyphen [-] invokes the CLI version. To maintain backward compatibility, most commands default to the CLI version when run in scripts or when called with the (command) function in AutoLISP. You can use the (initdia) function to force the dialog UI when the (command) function is used in many AutoLISP commands.

Many "DD" commands that called dialogs in Release 14 (for example, DDCOLOR, DDLTYPE, etc.) were removed in AutoCAD 2000. These commands are now aliased in the acad.pgp to their new command names (COLOR, LINETYPE, etc.). The aliases are honored when entered at the command line or called from menus. They are ignored in scripts or when used in the (command) function. Use the new command names in scripts and AutoLISP routines.

The keys below indicate the type of change.

Removed: commands removed from AutoCAD 2000
Aliased: commands aliased in acad.pgp will not run in scripts
Dialog: command displays a dialog interface
Enhanced: has new options or changes to existing options
New: New command (often replacing old command)
New AutoCAD 2000 Commands are provided after the changed commands.

Changed AutoCAD 2000 Commands
AI_PROPCHK Removed Replaced by PROPERTIES command
APPLOAD Enhanced Enhanced and rewritten from an AutoLISP command to an ARX application
ASEADMIN Removed Use the DBCONNECT UI
ASEEXPORT Removed Use the DBCONNECT UI
ASELINKS Removed Use the DBCONNECT UI
ASEROWS Removed Use the DBCONNECT UI
ASESELECT Removed Use the DBCONNECT UI
ASESQLED Removed Use the DBCONNECT UI
ATTACHURL Alias Aliases –HYPERLINK command; still runs in scripts and with (command) function
ATTDEF Dialog Calls CLI in scripts
–ATTDEF New Calls ATTDEF CLI
ATTEXT Dialog Calls CLI in scripts
–ATTEXT New Calls ATTEXT CLI
BHATCH Enhanced BHATCH dialog redesigned for ease of use; calls CLI in scripts and with (command) function, honors (INITDIA)
BLOCK, BMAKE, BMOD New, Dialog, Enhanced Block dialog redesigned and enhanced. Can create or redefine from the same dialog. Can save an icon with the block for display in DesignCenter, assign "insert units" and a description. Can replace objects used to define the block with an instance.

BMAKE and BMOD (LT commands) call the block dialog.

BLOCK calls CLI in script and with (command) function, honors (initdia)

BMAKE and BMOD displays dialog in scripts and with (command) function
–BLOCK New Calls BLOCK CLI
BOUNDARY, BPOLY Enhanced Dialog redesigned for ease of use; calls CLI in scripts and with (command), does not honor (INITDIA)
CHANGE Enhanced Enhanced to support Lineweight property. Also supports plot styles when the drawing is in Named plot style mode.
CHPROP Enhanced Enhanced to support Lineweight property option. Also supports plot styles when the drawing is in Named plot style mode.
COLOR Dialog Displays color dialog, calls Color CLI in scripts
DDATTDEF Removed, Alias Aliases ATTDEF in acad.pgp

No longer an AutoLISP command, will not run in scripts
DDATTEXT Removed, Alias Aliases ATTEXT in acad.pgp; will not run in scripts
DDCHPROP Removed Aliases PROPERTIES command in acad.pgp; will not run in scripts
DDCOLOR Removed, Alias Aliases COLOR in acad.pgp; will not run in scripts
DDGRIPS Alias Removed from acad.pgp; defined in acad2000doc.lsp, or changed on the Selection tab of the Options dialog.
DDIM Enhanced Aliases DIMSTYLE
DDINSERT Alias Aliases INSERT
DDLMODES Removed, Alias Aliases LAYER in acad.pgp; will not run in scripts or with (command) function
DDLTYPE Removed, Alias Aliases LINETYPE in acad.pgp; will not run in scripts or with (command) function
DDMODIFY Removed, Alias Aliases PROPERITES in acad.pgp; will not run in scripts
DDOSNAP Removed, Alias Aliases new DSETTINGS command; will not run in scripts or with (command) function
DDRENAME Removed, Alias Aliases RENAME in acad.pgp; will not run in scripts or with (command) function
DDRMODES Removed, Alias Aliases new DSETTINGS command in acad.pgp; will not run in scripts or with (command) function
DDSELECT Enhanced Displays the Selection tab of the Options dialog. Defined in acad2000doc.lsp.
DDUCS Alias Aliases new UCSMAN command and displays the Named UCS tab of the redesigned UCS dialog
DDUCSP Alias Aliases new UCSMAN command and displays the Orthographic tab of the redesigned UCS dialog.
DDUNITS Alias Aliases UNITS command, but can be called in (command) function
DDVIEW Alias Aliases VIEW, which calls an enhanced VIEW dialog.
DXFIN Alias Aliases OPEN command; still accessible from the command line and works in scripts and AutoLISP. This command will be dropped in future releases.
DXFOUT Alias Aliases SAVEAS command. Still accessible from the command line and works in scripts and AutoLISP. The command will be dropped in future releases.
DWFOUT Enhanced Calls an AutoLISP routine that supports the DWFOUT command. Use the PLOT command to create DWF files. This command will be removed in future version of AutoCAD.
DWFOUTD Removed  
HPCONFIG Removed Hewlett-Packard HPGL utility
HPMPLOT Removed Hewlett-Packard HPGL utility
HYPERLINK New Replaces ATTACHURL; displays hyperlink dialog
–HYPERLINK New Calls HYPERLINK CLI
HYPERLINKOPTIONS New Controls hyperlink cursor and shortcut menu
IMAGEATTACH Enhanced Dialog redesigned
INSERT Dialog, Enhanced Displays enhanced insert dialog; calls INSERT CLI for scripts and (command), honors (initdia)
–INSERT New Calls insert CLI
INETCFG Removed Hyperlink base is stored in the DWGPROPS dialog and HYPERLINKBASE variable
INETHELP Removed Integrated into AutoCAD Help
INSERTURL Removed, Aliased Aliases INSERT command in acad.pgp; will not run in scripts or with (command) function
LAYER Enhanced Dialog enhanced to support lineweight, Plotstyle (when PSTLYLEMODE=1), and Plot properties. Calls INSERT CLI for scripts and (command), honors (initdia)
–LAYER Enhanced CLI enhanced to support lineweight, Plotstyle (when PSTLYLEMODE=1), and Plot properties.
LIMITS Enhanced Limits input is ignored in a Layout when the paper background image and margins are displayed. Won’t break scripts, but ignores values entered.
LINETYPE Enhanced Dialog redesigned; calls CLI for scripts and (command) function, honors (initdia)
LISTURL Removed Use HYPERLINKOPTIONS and HYPERLINK to display URLs attached to selected objects
MTEXT Enhanced Mtext dialog is enhanced; enhancements include line spacing and improved stacking support; calls CLI for scripts and (command) function, honors (initdia)
–MTEXT Enhanced Mtext CLI enhanced with line spacing support
OPENURL Removed Aliases OPEN command; will not run in scripts or with (command) function
OSNAP Enhanced Displays the Object Snap tab of new Drafting Settings dialog. The tab includes new object snaps and turns object snap tracking on/off.

Calls CLI for scripts and (command) function; does not honor (INITDIA); use DSETTINGS to display OSNAP dialog with (command) function
–OSNAP Enhanced Enhanced to support Parallel and Extension OSNAP settings
OPTIONS New Replaces PREFERENCE command. PREFERENCE is aliased in acad.pgp and still displays the Options dialog.
PLOT Enhanced The PLOT command now displays the Plot dialog except when called from scripts (the dialog UI used to be controlled by the CMDDIA variable). The dialog interface is substantially enhanced.

Calls CLI for scripts and (command) function, honors (INITDIA); The CLI has changed, see -PLOT for behavior in scripts
–PLOT Enhanced Calls plot CLI; the CLI has changed and now prompts for a layout name, page setup, and print device. The CLI is:

Command: -plot
Enter a layout name <Model>:
Enter a page setup name <>:
Enter an output device name <HP LaserJet III>:

The R14 CLI will be honored (with some limitations) in scripts when the PLOTLEGACY system variable is set to 1. You cannot change plotters, load or save PCP or PC2 configurations, or set pen tables.

See the plotting documentation to understand all the changes to plotting in AutoCAD 2000.
PREFERENCES Alias Aliases Options command; still runs in scripts and from (command) function
RENAME Dialog, Enhanced Displays the Rename dialog,
–RENAME New Calls RENAME CLI
SAVEURL Removed Use SAVE or SAVEAS to save drawing to FTP site or the WEB.
SELECTURL Removed Removed. Use HYPERLINKOPTIONS
SAVEASR12 Removed You can save to R12 DXF file format with the SAVEAS command
SNAP Enhanced Has new Type option to control whether the snap setting is a polar snap or grid snap.
SHADE Enhanced Places AutoCAD in a persistent shaded mode. You can draw and edit while in a persistent shaded mode. See SHADEMODE command.
UCS Enhanced UCSs can be set per viewport, orthographic options were added, UCS can be moved and applied from one viewport to another. UCS can be aligned to the face of a solid by picking within the boundary of a face. See UCSVP, UCSORTHO, UCSVIEW, UCSBASE, and UCSAXISANG system variables.
UCSMAN New Replaces DDUCS and DDUCSP commands
UNITS Dialog, Enhanced Displays an enhanced dialog; calls CLI for scripts and (command) function
–UNITS New Calls UNITS CLI
VIEW Dialog, Enhanced Displays an enhanced redesigned dialog; can restore orthographic and isometric view defined relative to a base UCS; can save UCS with view. Calls CLI for scripts and (command) function, honors (initdia)
–VIEW New, Enhanced Calls VIEW CLI; enhanced with Orthographic and Isometric options
VPORTS Dialog, Enhanced Now displays new Viewports dialog; creates, saves, and restores tiled viewport in the Model tab; creates viewport objects in a Layout. Can preset views in dialog. Calls CLI for scripts and (command) function, does not honor (initdia).
–VPORTS New Calls VPORTS CLI. –VPORTS works in the Model or Layout tabs. It replaces the MVIEW in a layout.
WBLOCK Dialog Displays a dialog; calls CLI for scripts and (command) function, honors (initdia)
–WBLOCK New Calls WBLOCK CLI

New AutoCAD 2000 Commands

The following commands are new in AutoCAD 2000.

New Command Status Description
ADCENTER Dialog Invokes AutoCAD DesignCenter
BMAKE Dialog Creates or redefines blocks (LT command)
BMOD Dialog Creates or redefines blocks (LT command)
CAMERA CLI Sets camera and target direction
CLOSE CLI Closes a drawing
COPYBASE CLI Copies object with specified basepoint
DBCCLOSE CLI Dismisses dbConnect
DBCONNECT Dialog Invokes dbConnect feature
DSETTINGS Dialog Displays new drafting settings dialog. Controls Osnap, Polar settings, and Snap & Grid settings
DWGPROPS Dialog Summary Info on a DWG
FIND Dialog Find and replace text
HYPERLINK, -HYPERLINK Dialog, CLI Inserts, edits hyperlinks
HYPERLINKBACK CLI Supports Go Back tool on the Web toolbar
HYPERLINKFWD CLI Supports Go Forward tool on the Web toolbar
HYPERLINKSTOP CLI Supports Stop Navigation tool on the Web toolbar
LAYOUT, -LAYOUT Dialog, CLI Creates and manages new layouts (paperspace)
LAYOUTWIZARD Dialog Layout wizard to create new layouts
LWEIGHT, -LWEIGHT Dialog, CLI Sets the current lineweight and controls lineweight display options
MODEL CLI Sets to Model tab (replaces TILEMODE=1)
OLESCALE Dialog Brings up dialog for scaling OLE objects (OLE object must be selected)
OPTIONS Dialog Customizes the AutoCAD settings - replaces PREFERENCES
PAGESETUP Dialog Displays Page Setup dialog (Layout property sheet); controls plot settings of layouts and the Model tab
PARTIALOAD Dialog Loads additional geometry in a partially opened drawing
PARTIALOPEN,
-PARTIALOPEN
CLI CLI for partially opening a drawing; using the Partial open option on the OPEN dialog is recommended
PASTEBLOCK CLI Inserts data from the Clipboard as a block
PASTEORIG CLI Inserts data from the Clipboard, positioned at the same coordinates as the original objects
PLOTSTYLE Dialog Sets the running plot style name
PROPERTIES Dialog Invokes the Properties window; replaces DDMODIFY command
QDIM CLI Quickly dimensions multiple objects
QLEADER CLI Creates a leader with dialog and enhanced options; replaces LEADER command
QSELECT Dialog Quickly creates or filters selection sets based on search criteria
REFEDIT,
-REFEDIT
Dialog, CLI Enables in-place editing of references
REFSAVE CLI Write in-place edits to reference definition or file
REFSET CLI Adds or removes objects from reference editing set
SHADEMODE CLI Shades the objects in the current viewport
SOLIDEDIT CLI Edits faces and edges of 3D solid models
VBALOAD CLI Activates the Open VBA Project dialog
VBAMAN Dialog Activate the VBA Manager
VBAUNLOAD CLI Same syntax as -vbaload.
VPCLIP CLI Clips viewport objects

New, Retired, and Changed System Variables

These tables list new AutoCAD 2000 system variables and system variables that have changed or been retired. The status column indicates the type of change.

Obsolete: variable is no longer used
Location: storage of the system variable value (drawing or registry) has changed
Default: default value has changed
Expand: variable as additional values
Changed System Variables in AutoCAD 2000

Changed Variable Status Description
ACISOUTVER Default, Location Default changed from 16 (read-only) to 40; previously saved in drawing, now not saved
APBOX Default Default changed from 1 to 0
ATTDIA Location Previously saved in drawing, now saved in registry
ATTREG Location Previously saved in drawing, now saved in registry
AUTOSNAP Default, Expand Default changed from 7 to 63; expanded from 0 to 7, to 0 to 63
BLIPMODE Location Previously saved in drawing, now saved in registry
COORDS Default Default changed from 1 to 2; previously saved in drawing, now saved in registry
DELOBJ Location Previously saved in drawing, now saved in registry
DIMADEC Default Default changed from -1 to 0
DIMFIT Obsolete Replaced by DIMATFIT and DIMTMOVE; available for script compatibility.
DIMUNIT Obsolete Replaced by DIMLUNIT and DIMFRAC; available for script compatibility.
DRAGMODE Location Previously saved in drawing, now saved in registry
DRAGP1 Location Previously saved in registry, now saved in drawing
DRAGP2 Location Previously saved in registry, now saved in drawing
DWGNAME Expand New drawings now automatically have an integer appended to default name (i.e. drawing1, drawing2) to support MDI
FACETRATIO Location Previously saved in drawing, now not saved
LISPINIT Obsolete Maintained for compatibility with Release 14 when SDI is set to 1 (single document mode). LISPINIT is not an option when SDI is set to 0 (multiple document mode).
LOGFILENAME Location Previously saved in registry, now saved in drawing. Used to hold the path & name for log file that was open; now holds path & log file name for current drawing; now read-only
MAXACTVP Default, Expand Default changed from 48 to 64; expanded from 48 to 64
OSMODE Default, Expand, Location Default changed from 0 to 4133; added new settings for Extension and Parallel; previously saved in drawing, now saved in registry
PICKMODE Location Previously saved in drawing, now saved in registry
PLOTID Obsolete Retained to avoid breaking existing scripts
PLOTROTMODE Default Default changed from 1 to 2; expanded from 0 & 1, to 0, 1 & 2
PLOTTER Obsolete Does nothing, maintained to not break scripts; value is always 0
SAVEFILE Obsolete Still read-only, but no longer editable through Options; no longer "auto.sv$"; contains a unique name based on the drawing name
TILEMODE Expand Now switches from Model to last active layout
UCSICON Default Default changed from 1 to 3
UCSNAME Expand Now saved on a per viewport basis when UCSVP=1
UCSORG Expand Now saved on a per viewport basis when UCSVP=1
UCSXDIR Expand Now saved on a per viewport basis when UCSVP=1
UCSYDIR Expand Now saved on a per viewport basis when UCSVP=1
WORLDVIEW Expand Behavior affected by UCSBASE variable



New System Variables in AutoCAD 2000

The following system variables are new in AutoCAD 2000.

New Variable Status Description
ACADLSPASDOC 1 Loads acad.lsp in all documents along with acad2000doc.lsp
BINDTYPE 0 Controls how Xref names are handled when binding Xrefs or editing Xrefs in-place
CELWEIGHT -1 Sets the current global linetype scale for objects
COMPASS 0 Controls whether the 3D compass is on or off in the current viewport
CPLOTSTYLE ByLayer Controls the current plot style name for new objects
CPROFILE <> Stores the name of the current profile
CTAB Model Returns the name of the current (model or layout) tab in the drawing. Provides a means the user to determine which tab is active
DEFLPLSTYLE Normal Specifies the default plot style name for new layers
DEFPLSTYLE ByLayer Specifies the default plot style name for new objects
DIMALTRND 0 Determines rounding of alternate units
DIMATFIT 3 Determines how dimension text and arrows are arranged when space is not sufficient to place both within the extension lines
DIMAZIN 0 Suppresses zeros for angular dimensions
DIMDSEP blank Specifies a single character decimal separator to use when creating dimensions whose unit format is decimal
DIMFRAC 0 Sets the format for fractions when DIMLUNIT is set to 4 or 5
DIMLDRBLK blank Specifies the arrow type for leaders
DIMLUNIT 2 Sets units for all dimension types except Angular
DIMLWD -2 Assigns lineweight to dimension lines
DIMLWE -2 Assigns lineweight to extension lines
DIMTMOVE 0 Sets dimension text movement rules
DWGCHECK 0 Determines whether a drawing was last edited by a product other than AutoCAD
EXTNAMES 1 When turned off, emulates Release 14 parameters for named object names (linetypes, layers, dimension styles, etc.), that is limits names to 31 characters and doesn't allow spaces.
FULLOPEN 1 Indicates whether a drawing is partially open
HIDEPRECISION 0 Controls the accuracy of hides and shades
HYPERLINKBASE blank Specifies the path used for all relative hyperlinks in the drawing
IMAGEHLT 0 Controls whether the image is highlighted (in addition to its boundary) when selected as in R14, or just the boundary highlighted.
INSUNITS 0 Specifies a drawing units value for blocks that are inserted from the ADC
INSUNITSDEFSOURCE 1 Supports insertion units of source drawing
INSUNITSDEFTARGET 1 Supports insertion units of target drawing
LOGFILEPATH C:\program files\ acad2000 Specifies the log file path for all drawings in a session. Default is set to AutoCAD 2000 program directory during installation.
LWDEFAULT 25  
LWDISPLAY ON Controls whether the lineweight is displayed in the Model or Layout tab
LWUNITS 1 Controls whether lineweight units are displayed in inches or millimeters
MBUTTONPAN 1 Controls the behavior of the third button or wheel on pointing device
OFFSETGAPTYPE 0 Controls how to offset polylines when a gap is created as a result of offsetting the individual polyline segments
OLEQUALITY 1 Controls the default quality for embedded OLE objects
OLESTARTUP 0 Controls whether the source application of an embedded OLE object loads when plotting
PAPERUPDATE 0 Controls display of a warning dialog when printing a layout with a paper size different from the paper size specified by the plotter configuration file
PLOTLEGACY 0 Controls whether plot scripts from previous AutoCAD releases are compatible with AutoCAD 2000
PLQUIET 0 Controls the display of optional dialog boxes and non-fatal errors for batch plotting and scripts
POLARADDANG blank Contains user-defined polar angles
POLARANG 90 Sets the polar snap angle increment
POLARDIST 0 Sets polar snap distance. When set to 0, the snap distance is equal to the X value SNAPUNIT
POLARMODE 0 Controls the AutoTrack settings
PSTYLEMODE 1 Read only variable indicating whether the current drawing is in color dependent or named plot style mode
PSTYLEPOLICY 1 Controls whether an object's color property is associated with its PlotStyleName when creating a new drawing
PSVPSCALE 0 Sets the view scale factor for all newly created viewports
PUCSBASE   Stores the name of the UCS that defines the origin and orientation of orthographic UCS settings in paper space only
REFEDITNAME   Indicates whether a drawing is in a reference editing state
SAVEFILEPATH C:\temp\  
SDI 0 Controls whether AutoCAD runs in single- or multiple-document mode
SHORTCUTMENU 11 Controls whether Default, Edit, and Command mode shortcut menus are available in the drawing area
SNAPTYPE 0 Sets the snap style for the current viewport
SOLIDCHECK 1 Turns the solid validation on and off for the current AutoCAD session
TDUCREATE   Stores the universal time and date the drawing was created
TDUUPDATE   Stores the universal time and date of the last update/save
TRACKPATH 0 Controls display of the AutoTrack alignment paths
TSPACEFAC 1 Controls multiline text line spacing distance measured as a factor of text height
TSPACETYPE 1 Controls the type of line spacing used in multiline text. At least adjusts line spacing based on tallest characters in a line; Exactly uses the specified line spacing regardless of individual character sizes
TSTACKALIGN 1 Controls the vertical alignment of stacked text
TSTACKSIZE 70 Controls the percentage of stacked text fraction height relative to selected text's current height
UCSAXISANG 90 Stores the default angle when rotating the UCS around one of its axes using the X, Y, or Z options of the UCS command
UCSBASE   Stores the name of the UCS that defines the origin and orientation of orthographic UCS settings
UCSORTHO 1 Determines whether the related orthographic UCS setting is automatically restored when an orthographic view is restored
UCSVIEW 1 Determines whether the current UCS is saved with a named view
UCSVP 1 Determines whether the UCS in active viewports remains fixed or changes to reflect the UCS of the currently active viewport
WHIPARC 1  
WMFBKGND OFF Controls the background and the border of the output Windows metafile resulting from the WMFOUT command
WRITESTAT 1 Indicates whether a drawing file is read-only
XEDIT 1 Controls whether the current drawing can be edited in-place when being referenced by another user
XFADECTL 50 Controls fading intensity of the reference when it is edited in-place
ZOOMFACTOR 10 Controls the incremental change in zoom with each IntelliMouse wheel action, whether forward or backward

AutoLISP and the Multiple Design Environment

This section explains the AutoCAD 2000 Visual LISP environment and how to use Visual LISP with multiple documents. The section also describes options for making the transition from single-document mode (Release 14 and previous releases) to the AutoCAD 2000 Multiple Document Interface, a component of the AutoCAD 2000 Multiple Design Environment. The following topics describe changes made in AutoCAD 2000 and AutoLISP for work with multiple documents.

Visual LISP Goals

For AutoCAD 2000, three goals were targeted for the Visual LISP environment:

  • Maintain the highest compatibility with the original AutoLISP language
  • Modernize AutoLISP with the new Visual LISP engine and environment
  • Implement AutoLISP in an MDI environment
Changes Affecting Customization
In many cases, AutoLISP customizations will migrate to AutoCAD 2000 without change. AutoLISP changes are either changes to the language or changes to automatic loading.

Changes to the Programming Language

Changes to the AutoLISP language include a few bug fixes and some new extensions. Bug fixes include behavior corrections as reported by AutoCAD customers. Typical bug fixes include such items as setting the symbol T to nil is disallowed (setq t nil), or adding full 3D coordinate return values for some entities via (entget).

Extensions to the language do not affect compatibility. To take full advantage of Visual LISP, see the Visual LISP documentation, which describes the new language extensions in detail. The AutoCAD ActiveX® object extensions, and other features can improve your existing customization or work with any new customization projects.

Changes to Automatic Loading

You can create two optional files to handle automatic loading of AutoLISP customization: acad.lsp and acaddoc.lsp. While acad.lsp automatically loads when you launch AutoCAD 2000 (in the initial drawing), its load mechanism is limited to per-session. It does not load in subsequent drawings during the same session. The new acaddoc.lsp automatically loads on a per-document basis, including the initial drawing, to supplement the per-session loading of acad.lsp.

These changes enable mechanisms for automatic loading appropriate for MDE, and they provide additional control, because they allow you to differentiate per-session and per-document loading.

With the AutoCAD 2000 Multiple Design Environment, you should re-evaluate the previous behavior of acad.lsp. Because users of previous releases may have created acad.lsp files with expectation that only one drawing is open at a time, AutoCAD 2000 does not allow the file to open in each drawing.
E

F

Transition Options for Migration

In many (if not most) cases, your existing customization will migrate to AutoCAD 2000 without change. Follow these steps to understand how AutoLISP changes in AutoCAD 2000 affects you:

  • Step one: Use the AutoCAD 2000 Migration Assistance AutoLISP Compatibility Analyzer tool to assess your AutoLISP code for compatibility with AutoCAD 2000.

  • Step two: Consider automatic loading options and the transition options described in this paper.
AutoLISP Compatibility Analyzer Tool
Use the AutoLISP Compatibility Analyzer tool to interactively update your AutoLISP customization files from AutoCAD Release 14 to AutoCAD 2000. This tool analyzes your AutoLISP customization based on a set of rules, command changes, AutoLISP changes, and other compatibility issues. The tool contains an editor with which you can make changes quickly, based on the recommendations for each rule. This AutoCAD 2000 Migration Assistance tool will help you quickly migrate your AutoLISP code to AutoCAD 2000.

MDI Reminder Visual LISP Dialog Box

The first time you open a second drawing file, AutoCAD displays the Visual LISP dialog box with options for migrating existing acad.lsp automatically loaded customization into your drawing session. This dialog box displays an indication of the change, a HELP button for more information, and the option of setting a compatibility switch to use acad.lsp as your per-session automatic loading mechanism.

To distinguish between per-session and per-document automatic loading actions, choose the recommended option. You probably want to move your most common utilities to the acaddoc.lsp file so that they are available for every new document you create.

If you are confident that you can use your acad.lsp file for every new document (in other words, loading it multiple times will cause no unwanted side effects) select the second option instead. This instructs AutoCAD to treat both acad.lsp and acaddoc.lsp identically.

G

Setting Compatibility Modes Using the Options Dialog Box

You can choose between one of two interim options when you migrate customizations to MDI while at the same time migrating none, some, or all of the AutoLISP customization loaded by acad.lsp. The location of the setting check boxes in the Options dialog box are shown below.

H

SDI Mode and LISPINIT
The first interim option for transitioning to MDI is to change AutoCAD 2000 from multiple to single document mode. You can do this by selecting the Single-Drawing Compatibility Mode on the System tab of the Options dialog or changing the SDI system variable to 1. Setting the SDI variable to 1 enables the LISPINIT system variable to work compatibly with AutoCAD Release 14. Setting the SDI system variable to 0 changes AutoCAD 2000 to multiple document mode. When SDI is set to 0, the LISPINIT system variable has no function.

MDI Mode with ACADLSPASDOC
When migrating to MDI, you can force AutoCAD to load your acad.lsp file in all documents. This option will work for many users, but will not allow you to take full advantage of the flexibility of MDI customization for session and document-centric loading.

The ACADLSPASDOC system variable controls acad.lsp loading. When set to 0, AutoCAD 2000 loads acad.lsp into the first open drawing only. When set to 1, AutoCAD 2000 loads acad.lsp into all drawings. You can also set the ACADLSPASDOC variable on the System tab of the Options dialog. This option is only available when AutoCAD 2000 is in multiple document mode (that is, the SDI system variable is set to 0).

In MDI, the options for initializing AutoLISP for the session and for each document opened are much more powerful than before. Therefore, setting LISPINIT to any value has no effect in MDI. Your customization loaded from acad.lsp may need to change accordingly, if you choose this option.

Quick Start

When considering how to migrate your customization, review these three points:

  1. Decide whether your AutoLISP customization initializes external systems or drawing managers, runs system commands, executes external programs, loads ADS or ObjectARX programs, and runs or calls SHELL commands. The new acaddoc.lsp load mechanism was created for this purpose.

    Review your acad.lsp file and separate operations that should only run once at session start-up from those that belong in acaddoc.lsp file for use in every document.

  2. Decide whether your customization only loads small drawing utilities with acad.lsp.

    Then either rename your acad.lsp file to acaddoc.lsp , or optionally set the ACADLSPASDOC system variable to 1.

  3. Determine whether you rely on LISPINIT to be set to 0. If you rely on AutoCAD Release 14 to preserve the LISP environment between _OPEN and _NEW operations, you may prefer to change the SDI system variable until you can review your AutoLISP routines with the AutoLISP Compatibility Analyzer and make recommended changes for MDI.

Building MDI in AutoCAD and AutoLISP

In AutoCAD 2000, drawing data is formally separated from application data. The DWGNAME system variable is drawing data. In single-document mode, only one document exists at a time, so the value of this system variable (document data) can be mixed with application data. In multiple-document mode, changing from document to document changes the DWGNAME system variable, so each document must be isolated from every other document.

The ACADPREFIX system variable is application or session data. It stores the name of the library search path AutoCAD 2000 uses to find support files. In single or multiple-document mode, the value is always the same, regardless of what drawing is open.

When you customized AutoCAD Release 14, you could always assume that data-whether document or session-would remain static until the next document was opened or a created. This is no longer true in the AutoCAD 2000 Multiple Document Environment.

Enabling Compatibility
To provide compatibility for AutoLISP applications, AutoCAD 2000 provides a separate environment and interpreter for each document that is open. This also means each drawing document, open in multiple-document mode, has its own AutoLISP namespace for named objects and system variables that pertain to it.

Mechanisms for accessing and passing data from one document to another through AutoLISP customizations are necessary. For this purpose, AutoCAD 2000 provides a LISP blackboard mechanism in the functions (vl-bb-ref) and (vl-bb-set), and a propagate function called (vl-propagate). In addition, AutoCAD 2000 provides a load-all function, called (vl-load-all), to help load defined functions in more than one document namespace.

Automatic Loading
AutoCAD 2000 changes the acad.lsp loading mechanism to be session-specific by default. Use acad.lsp for loading custom utilities or applications that reference drawing managers, external databases, or other systems that assume AutoCAD is in single-document mode or has only one document open at a time. Use acaddoc.lsp for loading customizations, utilities, or applications that must be available for use in every document such as custom drawing commands and other production design utilities.

Loading Behavior

The table below shows the rules AutoCAD 2000 follows for loading order and how it finds your automatic loading files.

    Scenario(s) #1
a) AutoCAD 2000 in single or b) multiple document mode for 1st document
Scenario #2
AutoCAD 2000 in multiple document mode
Scenario #3
AutoCAD 2000 in multiple document mode with system variable compatibility flag
  Load
Order
1st Drawing file 2nd, 3rd, 4th Drawing files, and so on. ACADLSPASDOC=TRUE in 2nd DWG
ACAD.LSP 1
  1. search drawing document directory
  2. search library path ACAD=
  3. load first found
ACAD.LSP does not load in second or subsequent drawings
  1. search drawing document directory
  2. search library pat
ACADDOC.LSP 2
  1. Search drawing document directory
  2. Search library path ACAD=
  3. Load first found
ACADDOC.LSP 3
  1. Search document directory
  2. Search library path ACAD=
  3. Load first found

Notes:

  1. Always take care when using the (S::Startup) function. This function can be in any of the startup files. The last definition of S::Startup is the one that will execute after a drawing is fully initialized. If you use S::Startup, a good practice is to (append) the (defun) statements you want to run at initialization to any existing S::Startup. More information on this is available in the Visual LISP documentation.

  2. AutoCAD 2000 always finds support files, including these automatic loading files, in the library search path. The library search path starts by looking in the directory where the drawing files are located, and continues with setting the Windows environment variable "ACAD=". You can manage different customization tasks by organizing your customizations and applications into separately loaded acaddoc.lsp files and storing them in the directories that accompanies their associated drawing types.

  3. In addition to the existing acadrxx.lsp mechanism, AutoCAD 2000 has two new automatic loading files: acad2000.lsp and acad2000doc.lsp. These files are reserved for AutoCAD. You should not edit them.

  4. Using a LISP (command) call to open or create a new drawing has limited functionality. In MDI mode it is not allowed. In SDI mode it is allowed but works correctly only when LISPINIT=0. If LISPINIT=1 the command is accepted but the new LISP environment is not initialized with acad*.lsp files or menu *.mnl files. Any lisp based commands, shortcut keys, or menu routines normally loaded during initialization will not be available.

    Setting LISPINIT=0 is the appropriate workaround in most cases.

    If you depend on LISPINIT=1 to cause code in your startup lisp routines to execute each time a drawing is loaded, you will need to apply a different workaround. One workaround is to create a NEW.SCR file and an OPEN.SCR. Then replace the (command "_new" ...) and (command "_open" ...) calls with a command that calls the appropriate script routine.

    The .lsp file line:

    (command "_new" ".")

    becomes

    (command "_script" "new.scr")

    In new.scr:

    _new
    .
    

    Then:

    (command "_open" "_y" "direct.dwg")

    becomes:

    (setq filename "direct.dwg")
    (command "_script" "open.scr")
    
    In open.scr:
    _open
    _y
    !filename
    


Visual LISP Summary
AutoCAD 2000 provides a powerful new AutoLISP environment for the Multiple Document Environment. The new environment maintains nearly perfect compatibility with the older AutoLISP language while providing many new features that support the new multiple document capability. Use the AutoLISP Compatibility Analyzer tool to review your customization code for compatibility before moving to AutoCAD 2000. Consider how your automatic loading of AutoLISP customization should be organized between session start-up and each document AutoLISP namespace.

Change the SDI system variable if you are unsure or not ready for multiple document mode. As you begin to use the multiple document mode, use the acaddoc.lsp loading mechanism. Consider changing the ACADLSPASDOC system variable if you do not have any AutoLISP customizations that is at risk to your data, or if you prefer to use your existing acad.lsp in every document.

Changes to AutoLISP

Visual LISP offers a high level of compatibility with AutoLISP, while providing much more functionality. This section lists the new, changed, and retired AutoLISP commands. You can find new Visual LISP documentation through the online help and in Migration Resources.

The Visual LISP architecture consists of the following subsystems:

  • Runtime system (RTS)

  • Visual integrated development environment (IDE)

  • AutoLISP API to ObjectARX,

  • General ActiveX client/server subsystem (includes access to the AutoCAD Automation API),

  • Interface by which AutoCAD utilizes AutoLISP services (i.e. accessing AutoLISP variables or calling AutoLISP functions from AutoCAD or other external ObjectARX applications).

Refer to the AutoLISP Reference for an overview to Visual LISP and details on its new capabilities. Here are the compatibility areas on which to focus:

  • Because multiple drawings can be open at one time in AutoCAD 2000, Visual LISP maintains a separate namespace for each drawing. When a function is loaded or a variable set in one drawing namespace, it is not accessible when another open drawing is made current unless the function or variable is also set or loaded in that namespace.

  • Place Visual LISP (or AutoLISP) functions or statements you want loaded automatically each time AutoCAD is launched or each time a new drawing is opened or created in acad.lsp and acaddoc.lsp. By default, acad.lsp is only loaded into the namespace of the initial drawing created or opened when launching AutoCAD. The new acaddoc.lsp file is loaded for all drawings. Users may want to move code they've placed in the Release 14 acad.lsp to acaddoc.lsp in AutoCAD 2000. You can also use the new ACADLSPASDOC system variable to force acad.lsp to behave as if it were acaddoc.lsp.

  • LISPINIT is ignored when AutoCAD 2000 is in multiple document mode (that is, when the SDI system variable is set to 0), but can be called when AutoCAD 2000 is in single document mode (SDI is set to 1).

  • If you need to emulate Release 14 behavior in order to run an AutoLISP routine, you can change the following system variables:
    Set SDI to 1 (single document mode)
    Set EXTNAMES to 0 (limits named object names to 31 characters)
    Set SHORTCUTMENUS to 0 (right-click is the same as pressing Enter)
  • The string case of symbol table names is now preserved in the database, although AutoCAD 2000 is case insensitive when validating a name for input in commands and with TBLSEARCH. LISP may need to use STRCASE before comparing the names against an expected value.

  • Reserved symbol names (named objects), such as T, are protected. Attempting to modify a reserved symbol name will generate an error message from the IDE.

  • Functions are no longer defined internally as lists. If you have AutoLISP routines that depend on the list structure of functions, use the DEFUN-Q, DEFUN-Q-LIST-SET, and DEFUN-Q-LIST-REF functions to maintain backward compatibility.

  • AutoLISP converts very large integers to real number when entering a value at the AutoCAD command prompt.

  • AutoCAD 2000 preserves the case of named object names. Release 14 symbol tables do not preserve case and automatically convert named object names to uppercase.

  • AutoCAD 2000 displays an error message if you pass a function as an argument to an ARX defun'd function. Release 14 did not allow functions to be passed as arguments to ARX defun'd functions, but ignored attempts to do so.

  • Local Visual LISP functions do not become global in scope when a function is cancelled or an error occurs, as they did in Release 14.
The following ASI AutoLISP functions are no longer supported:
asi_getcfg
asi_setcfg
asi_cmdtype
The following ASI AutoLISP functions have changed:
Asi_connect - now requires a path to the .UDL file
Asi_alloc - now accepts an optional "update-ability" argument
The (ssget "x") function call still returns a selection set of all entities in the database. However since entities can reside in different paper spaces (layouts), a new 410 group code has been added to identify the name of the layout. AutoCAD entities still contain a 67 group code that indicates the space an objects resides in (0=model, 1=paper space). The new 410 group code indicates the name of the space ("Model" or the Layout name). See the New Group Codes for Objects and Other Changes section for more information.

See the New, Retired, and Changed Commands section for AutoCAD 2000 commands that have changed or can no longer be called with the (command) function. Refer to the AutoLISP Reference manual for the full descriptions of all new AutoLISP functions in AutoCAD 2000. The table below shows new, changed, and retired AutoLISP functions.

Function Status Remarks
entmake Changed  
entmakex Changed  
entmod Changed  
entupd Changed  
initdia Changed  
vlax-reg-app New  
vl-init New  
vlisp-export-symbol New  
vlisp-import-exsubrs New  
vlisp-import-symbol New  
defun Changed no longer defined as a list
entget Changed Unchanged, but return values may differ
getfiled Changed Two new bit flags (6 and 7); refers to URLs
load Changed If filetype not included in arg, searches for .vlx, .fas, .lsp
mem Changed Printed statistics changed from R14
ssget Changed Different results for pick routines when MDI windows overlap
trace Changed Output goes to VLISP Trace window, if IDE is activated at
vlax-add-cmd Changed Relaxed limits on number of commands that can be added.
vlax-ldata-delete Changed Additional argument (optional), possible behavior change
vlax-ldata-get Changed Additional argument (optional), possible behavior change
vlax-ldata-list Changed Additional argument (optional), possible behavior change
vlax-ldata-put Changed Additional argument (optional), possible behavior change
vlr-type Changed Additional return values possible
defun-q New  
defun-q-list-ref New  
defun-q-list-set New  
function New (in VLISP R14 too)
layoutlist New  
type New data types
ver New Returns Visual LISP 2000 (abbrev.)
vl-acad-defun New  
vlax-3D-point New Returns a variant (array of doubles)
vlax-create-object New  
vlax-get-object New  
vlax-get-or-create-object New  
vlax-get-property New Replaces vlax-get
vlax-import-type-library New  
vlax-invoke-method New Replaces vlax-invoke (may return different value, depending on method invoked)
vlax-make-safearray New  
vlax-make-variant New  
vlax-put-property New Replaces vlax-put
vlax-safearray->list New  
vlax-safearray-fill New  
vlax-safearray-get-dim New  
vlax-safearray-get-element New  
vlax-safearray-get-l-bound New  
vlax-safearray-get-u-bound New  
vlax-safearray-put-element New  
vlax-safearray-type New  
vlax-tmatrix New Returns a variant
vlax-variant-change-type New  
vlax-variant-type New  
vlax-variant-value New  
vl-bb-ref New  
vl-bb-set New  
vl-catch-all-apply New  
vl-catch-all-error-message New  
vl-catch-all-error-p New  
vl-doc-export New  
vl-doc-import New  
vl-doc-ref New  
vl-doc-set New  
vl-exit-with-error New  
vl-exit-with-value New  
vl-get-resource New  
vl-list-exported-functions New  
vl-list-loaded-vlx New  
vl-load-all New  
vl-load-com New  
vl-load-reactors New  
vl-propagate New  
vlr-command-reactor New  
vlr-deepclone-reactor New  
vlr-docmanager-reactor New  
vlr-dwg-reactor New  
vlr-dxf-reactor New  
vlr-insert-reactor New  
vlr-lisp-reactor New  
vlr-miscellaneous-reactor New  
vlr-mouse-reactor New  
vlr-owner-add New Returns VLA-object (was indeterminate)
vlr-owner-remove New Returns VLA-object (was indeterminate)
vlr-pers New Returns reactor object (was indeterminate)
vlr-pers-list New  
vlr-pers-p New Returns reactor object (was T, if persistent)
vlr-pers-release New Returns reactor object (was indeterminate)
vlr-reactors New Returns a list of lists (was a list)
vlr-remove New Returns reactor object (was indeterminate)
vlr-remove-all New Returns a list of lists (was indeterminate)
vlr-sysvar-reactor New  
vlr-toolbar-reactor New  
vlr-types New Returns a longer list of reactor types
vlr-undo-reactor New  
vlr-wblock-reactor New  
vlr-window-reactor New  
vlr-xref-reactor New  
vl-unload-vlx New  
vl-vbaload New (in R14 VLISP, but undocumented)
vl-vbarun New (in R14 VLISP, but undocumented)
vl-vlx-loaded-p New  
ads Removed  
autoxload Removed  
vl-exe-filename Removed  
vlax-get Retired Replaced by vlax-get-property (but still recognized for backward-compatibility)
vlax-invoke Retired Replaced by vlax-invoke-method (but still recognized for backward-compatibility)
vlax-put Retired Replaced by vlax-put-property (but still recognized for backward-compatibility)

AutoCAD Release 14 Custom Files Directory

You can migrate AutoCAD Release 14 support files and profiles by checking the Migration checkbox during single-user installation. Release 14 profiles will be added to AutoCAD 2000, and Release 14 support files will be copied to a "R14 Custom Files" folder. Any pen tables configured in Release 14 will be migrated from the acad.cfg or PC2 files to AutoCAD 2000 CTB files. Release 14 support files copied into the R14 Custom Files directory include:

Acad.lin
Acad.lsp
Acad.mnl
Acad.mnu
Acad.pat
Acad.pgp
Acad.unt
Acadiso.lin
Acadiso.pat
Fontmap.ps
*.arg
?.cus
AutoCAD linetype definition file
AutoLISP application source file
Menu AutoLISP files
AutoCAD menu file
AutoCAD hatch pattern definition file
AutoCAD program parameter file
AutoCAD unit definition file
AutoCAD linetype definition file
AutoCAD hatch pattern definition file
AutoCAD PostScript support file
Exported profile files
Custom dictionary file
If you have additional customized files, such as customized MNU and LSP files, you must manually copy them into the R14 Custom Files directory before you install AutoCAD 2000.

New Group Codes for Objects and Other Changes

AutoCAD 2000 objects have many new group codes which point to new properties or data. These new codes are a result of the enhancements to AutoCAD 2000. The additional group codes should not affect existing AutoLISP routines, but as you migrate and upgrade you code, you may want to account for them. See the Customization Guide and the Visual LISP Reference, available from the Help menu, for details. Here is a partial list example of new group codes common to AutoCAD 2000 entities returned by (entget ename):

  • 410-Layout name (Model, Layout1, etc)

  • 370-Lineweight (in mm); not listed if Bylayer

  • 330-Soft-pointer ID/handle to owner dictionary. For AutoCAD 2000 entities, this group code points to the block table record of the space (Model or Layout tab) in which an object resides.

  • 380/390-ID/handle to owner dictionary. For AutoCAD 2000 entities, this group code allows the user to track down the plot style assigned to the object.
New Group Codes for Objects

The following table lists additional group codes for specific AutoCAD objects. Viewport information formerly stored in Xdata is now accessed through group codes returned by (entget ename).

Object Code Description
Dimension 41

42

71

72

Real - Mtext spacing factor

Real - Actual measurement of dimension

Integer - Mtext attachment justification (9 possible values)

Integer - Mtext spacing style (Fixed or At least)

Mtext 44

73

Integer - Mtext attachment justification (9 possible values)

Integer - Mtext spacing style (Fixed or At least)

Viewport 12

13

14

15

16

17

42

43

44

45

50

51

72

90

281

71

74

110

111

112

79

146

List - View center

List - Snap base

List - Snap spacing

List - Grid spacing

List - View direction vector

List - View target

Real - View lens length

Real - Front clipz

Real - Back clipz

Real - View height

Real - Snap angle

Real - View twist angle

Integer - Circle zoom (viewres)

Encoded bit - ucsfollow, persp, ucsicon visibility, etc

Integer - Render mode (wireframe, shaded, etc.)

Integer - UCSVP value

Integer - ucsicon at origin

List - UCS origin

List - ucsxdir

List - ucsydir

Integer - Orthogonal view

Real - Elevation

Group Codes Changes
The 3 group code in an Xref block table record used to hold the filename of the external reference. The filename is now stored in the 1 group code.

Other Changes

In the Release 14 acad.mnu, the grips popup menu (that appears when right-clicking while a grip is hot) was POP17. It is now POP500. All popup menus greater than 499 do not show up in the menu editing dialog and therefore cannot be made top-level popup menus.

Migration Tools and Wizards

AutoCAD 2000 includes tools and wizards to assist with migration:

  • AMA: AutoCAD 2000 Migration Assistance tools. Each tool has its own on line Help. (Online Help is the only source for information for these tools.)

  • AutoCAD 2000 CD: Installation wizards are on the AutoCAD 2000 CD. Documentation for these tools is included in the Installation Guide, which is also available through the AutoCAD 2000 help system.

  • AutoCAD 2000: AutoCAD 2000 includes wizards to help users set up their plotting and layouts. Documentation for these wizards is included in the User's Guide, which is also available through the AutoCAD 2000 help system.

  • ALA: The AutoCAD Learning Assistance CD is included with AutoCAD 2000 and is an excellent resource for users migrating to AutoCAD 2000.
Task Tool or Wizard Source
Create a report showing all installed versions of AutoCAD, their serial numbers, versions, and machine names. Serial Number Harvester AMA
Deploy AutoCAD over a network (OS independent) AutoCAD 2000 Network Installation wizard  
Install AutoCAD on a client work station AutoCAD 2000 Installation wizard AutoCAD CD
Install and configure the AutoCAD License Manager AutoCAD 2000 Network Installation wizard AutoCAD CD
Deploy a fully configured and customized version of AutoCAD 2000 over a network (deployment must be created in same OS as client). Network Deployment Tool AMA
  • Convert a set of existing drawing files (with X-refs) between releases of AutoCAD R12, R13, R14 and AutoCAD 2000.

  • Convert pen width settings to lineweights during batch conversion.

  • Convert paper space to layouts.
Batch Drawing Converter AMA
Convert color-dependent plot style drawings to named plot style drawings. Color to Plot Style Converter
(requires AutoCAD 2000 to be present)
AMA
Convert acad.cfg and any PC2 files to PC3 files. AutoCAD 2000 Installation wizard AutoCAD CD
Add and configure a plotter quickly and easily. Add Plotter wizard AutoCAD Tools menu
Create new plot styles in a snap. Add Plot Style Table wizard
Add Named Plot Style Table wizard
AutoCAD Tools menu
Walk any user through the process of creating a layout, making this process simple and easy to understand. Create Layout wizard AutoCAD Tools menu
  • Use a scripting tool to make changes to multiple drawings.

  • Add or change elements such as blocks, layers, text, dimensions, linetype formats or their customized scripts.
Script Pro
(requires AutoCAD 2000 to be present)
AMA
Migrate menu customizations to AutoCAD 2000. Menu and Tool Bar Porter AMA
Migrate PGP file customizations to AutoCAD 2000 Command Alias (PGP) Porter AMA
  • Find AutoLISP code needing changes to be compatible with AutoCAD 2000 in LSP or MNL files.

  • Suggestions on how to update AutoLISP files.
AutoLISP Compatibility Analyzer AMA
Provide comprehensive advanced user training AutoCAD 2000 Learning Assistance ALA





Autodesk, Inc.
111 McInnis Parkway
San Rafael, CA 94903
USA
Autodesk, the Autodesk logo, AutoCAD, AutoLISP, and AutoCAD Development System are registered trademarks, and ObjectARX, ObjectDBX and Visual LISP are trademarks, of Autodesk, Inc., in the United States and/or other countries. All other brand names, product names, or trademarks belong to their respective holders.

© Copyright 1999 Autodesk, Inc. All rights reserved.


www.autodesk.com