My Photo

Search


  • Search 280+ postings

Site Awards



Syndications for this Site


Mail Bag - Why do some commands support the use of additional characters in front of their names, and others do not?

Mailbag_header_2
The Mail Bag has become one of my favorite new little segments on my blog, and by the number of comments that I have been getting it looks like many others agree as well.  In today's Mail Bag, a reader has a question about why there are some commands that have an additional character in front of their names and there is the same command with out that additional character.  For example, to plot a drawing you would use the PLOT command, but there is also a -PLOT command.  Both the PLOT and -PLOT command allow you to plot a drawing, but to get to the final output from the command the process is a little bit different.  The PLOT command displays a dialog box under normal situations, while the -PLOT command displays a series of command prompts to help plot a drawing.  Below is a listing of a few characters that you might encounter when creating your own macros, or when you are trying to create a basic script to automate AutoCAD or AutoCAD LT.

- (Hyphen) - Command displays command prompts instead of a dialog box, in most cases the commands that support a version of the command are ones that display a dialog box.  A few examples are the -PLOT vs. PLOT, -LAYER vs. LAYER, and -ARRAY vs. ARRAY commands.

+ (Plus) - There are a couple different types of commands that use the plus symbol in front of commands.  The most common commands that have a plus symbol in front of their name are the ones with tabs, such as the Options dialog box or UCS dialog box.  A few examples are the +OPTIONS vs. OPTIONS, +DSETTINGS vs. DSETTINGS, and +UCSMAN vs. UCSMAN commands.  When the +OPTIONS is typed at the command line the prompt Tab index <0>: is displayed.  If you want to display the User Preferences tab you would enter a value of 5, the leftmost tab is 0.  Another version of a command that can use the plus symbol is the variation of the PUBLISH command.  If a plus is placed in front of the command you are able to browse and select an existing DSD file from a standard file navigation dialog box.

' (Apostrophe) - The apostrophe symbol is used by some commands that can be used while another command is already in progress, in this state a command is known as a transparent command.  Most commands can not be used transparently when other commands are running.  The most commonly used commands that are used transparently are ZOOM, PAN, and -VIEW.  There are many other commands that can be used transparently, as well and those are often used to control entity property settings such as COLOR, LTYPE, and SETVAR.  To use a command transparently, simply start another command that displays a command prompt such as the LINE command, and then enter 'ZOOM at the command prompt while the LINE command is still in progress.  AutoCAD indicates that you are in a transparent command with the display of >> in front of the command prompt.  Once the transparent command has ended or been cancelled you are returned to the previous command prompt of the original command, in the example it is the LINE command.

Command: l
LINE Specify first point: 'zoom

>>Specify corner of window, enter a scale factor (nX or nXP), or
[All/Center/Dynamic/Extents/Previous/Scale/Window/Object] <real time>:

>>Press ESC or ENTER to exit, or right-click to display shortcut menu.

Resuming LINE command.
Specify first point:
Specify next point or [Undo]:

For additional information on what commands can be used transparently, which ones support a hyphen or simply a list of all commands in AutoCAD use the links below.

Transparent AutoCAD Commands
Hyphened AutoCAD Commands
AutoCAD Command Reference (R12 through 2007)

Another create feature when wanting to learn about what commands and system variables in AutoCAD is the AutoComplete feature at the command prompt.  It allows you to find a command that you only remember the first few letters of.  To use AutoComplete, type in the first few letters at the command prompt and press the TAB key until you find the command you are looking for.  So if you wanted to know all of the commands that can use the + (plus) symbol, you can type the + symbol and then press Tab until you cycle through all the commands or until you found the one that you are interested in.

For some additional information on the AutoComplete feature see the links below:
Forgot a Command's Name, Now What?
What Was That AutoCAD System Variable or Command?

Got a question that you are looking for an answer to, send me an e-mail and I will be more than happy to help you out.  Use the Email Me link below the About section on this page or click here.

Sincerely,
  Lee

AutoCAD 2007 Quick Reference Guide Available

QuickguideAn updated version of my Quick Reference Guide is now available for AutoCAD 2007. The Quick Reference Guide includes information on the default Command Aliases, Accelerated Keys (Keyboard Shortcuts), Double Click Actions, Coordinate System (Types of Point Entry), Drag 'n Droppable files, Object Snaps and Selection Methods. The AutoCAD 2007 version now has two sections for Command Aliases, one for 2D and one for 3D.  Other versions of the Quick Reference Guide are available starting with AutoCAD R14 through AutoCAD 2006 for download. If you have any questions just let me know, you must be a member of the HyperPics.com website in order to access the PDF file. General membership is free to everyone that signs up on the site, click here to access the member signup page.

Click here to access the Quick Reference Guides page on HyperPics.com.

Sincerely,
  Lee 

Updated Command Reference Now Available as a PDF File

I have just finished updating the Command Reference as a PDF file for those that want to print it off or view it offline. It doesn't contain the Command Aliases like the online version does, but it does give you a similar chart that covers which commands are available for AutoCAD R12 through AutoCAD 2007.  If you have any questions just let me know, you will also need to be a member of the HyperPics.com in order to access and download the PDF file.  General membership is free to everyone that signs up on the site, click here to access the member signup page.

Click the link here to access the Command Reference page on HyperPics.com.

Sincerely,
  Lee 

AutoCAD Tip: Clipping Blocks

The command XCLIP is known as "Xref clip", but many might not know that XCLIP can be used to clip block what objects are displayed. To clip a block, start the XCLIP command by entering it at the command line or selecting Xref from the Modify menu > Clip. Select the block and follow the prompts to create a new boundary that should be used to clip the block.

This is how the SUPERHATCH command that is part of Express Tools works. It determines how the objects in a block can be placed within a given boundary and then clips the objects that don't fit nicely in that boundary. SUPERHATCH is a great command for creating custom hatch patterns based on images, blocks, wipeout objects, and xrefs. SUPERHATCH can be found under the Express menu > Draw > Super Hatch.

Sincerely,
  Lee

General AutoCAD LT Quick Guide (First Time Available)

  Just a couple of days ago I reposted the General AutoCAD Quick Guide.  It included things like used Command Aliases, Accelerated Keys (Keyboard Shortcuts), Coordinate System (Types of Point Entry), Drag 'n Droppable files, Object Snaps and Selection Methods.  Due to some reworking on my site and based on the huge number of downloads that the AutoCAD Quick Guide is getting; I decided to make available for the first time a version of the Quick Guide for AutoCAD LT 2005 users.  There are no other versions available at this time for AutoCAD LT, but hope to make some older versions available at a future date.  Thanks to those that have sent me comments about the AutoCAD 2005 version of the Quick Guide.

Click here to access the AutoCAD LT 2005 version of the Quick Guide

Sincerely,
  Lee

General AutoCAD Quick Guide

  So what are Quick Guides you might be asking?  Typically, Quick Guides are focused on a specific topic and deliver a quick shot of information and might be enough for a general overview at times of some features.  They might also be references that are able to get you up and running very quickly with new features or even old ones that might have been forgotten.  I have been publishing a variety of Quick Guides for many years and releases now.

  Quick Guides are great if you teach AutoCAD classes to new students.  One of the Quick Guides that I have is for many of the commonly used Command Aliases, Accelerated Keys (Keyboard Shortcuts), Coordinate System (Types of Point Entry), Drag 'n Droppable files, Object Snaps and Selection Methods.

Click here to access the AutoCAD 2005 version of the Quick Guide
Need an older version... we might have you covered with Quick Guides going back as far as R14 and through 2004.  To view the many other Quick Guides click here.  Have any ideas or suggestions for information you would like to see covered in a future Quick Guide send me at e-mail at lee_ambrosius@hyperpics.com.

Sincerely,
  Lee

New Online Command Reference

After many years in the making and some research recently; I am pleased to announce the new online Command Reference section of the HyperPics website.  Some of the credit goes to Shaan Hurley at Autodesk for putting up with me and my curiosity that I have for AutoCAD and other Autodesk products.  This new layout is the result of a joint effort to provide an in-depth amount of information on things in AutoCAD. The online format allows for quick accessing of the Quick Guide PDF for this that don't want to install of use a PDF reader or print it out, but if you want a hardcopy the PDF file is still provided for downloading.  Hope you enjoy going through it as much as I have enjoyed building and assembling the information.  If you have questions or comments on the site just let me know.

Click here to access the online Command section of the HyperPics website.

Sincerely,
  Lee

  Where one journey ends a new one begins...

Feeds


  • Between the Lines Blog

  • Will render for food... Digital Media Blog

  • HyperPics.com