Index Cover
The Menu

The ASRix Menu in AutoCAD

ACAD/ASRix Menu Sections

  1. ASRix, ASR and Settings

  2. ASRix : The Straight Rectifier
    Settings
    ASR (controlled by settings)
    Other Selection Options ->

  3. ASRix / ACAD Component Commands

  4. ASRr : open Rectifier
    ASRp : select Points
    ASRi : Insert Rectified Image
    Insert un-Rectified images ->
    ASRt : Annotate an image

  5. Working with ASRix inserted Images

  6. AIC : Image Clip
    AVP : Previous View and UCS
    Other View and UCS options ->
    M2F : Move to Front
    M2B : Move to Back
    Detach Options ->

  7. Layer Commands

  8. IFV : Image Frame Visible
    ALK : ASRix Layers LOCKED
    ALV : ASRix Layers Visible
    Other Layer Tools ->

  9. Utilities and DWF options

  10. I3P : Identify 3D Points
    ILB : Insert Linked Block
    Xdata Customization ->
    Export DWF ->
    Utilities ->
    ASRix Help

ACAD/ASRix Menu (Section 1)

  • ASRix : The straight rectifier
  • This command (type ASRix at the command line) simply launches the rectifier in the same way as if you did it from the file manager or by using a shortcut from your desktop. AutoCAD and ASRix will be unaware of each other.

  • Settings
  • Here you specify how you want AutoCAD and ASRix to work together. The ASR command, which launches the AutoCAD aware rectifier, will behave differently depending on which of these items is selected. If none are selected ASRix will behave as though you had started it independently of AutoCAD. See the section on settings for more details.

  • ASR : (controlled by settings)
  • This is the main rectification and insertion command linking AutoCAD and ASRix. It will always start ASRix if it is given a valid image but how it determines the image name and what it does with it once it is rectified is determined by the settings. The purpose of this command is to speed things up for people who have a lot if images to insert. To take full advantage of this feature you will need to structure your AutoCAD drawings so that the entities for which you have photos are identifiable CAD entities. It can be symbols with Attributes identifying the image, Extended Entity Data inserted by your survey program, Layers named the same as your photos or even just Text. Once you have standardized your drawings and adjusted the settings you can simply click the CAD object, have the rectifier open, look up the points in a database or pick them in AutoCAD then rectify and insert them into the drawing. All with this single command.

    The ASR command is simply a compilation of other commands, with a few bells and whistles thrown in to speed up the processing of multiple images. You can do the same thing, one step at a time, with the following four commands (each will be described in more detail later):

    1. ASRr - selects and opens an image in which you must pick the points for which you have
    2. geometric coordinates. If you enter the coordinates manually or from a database you should rectify before you save.
    3. ASRp - you select the PTS file, saved above, and then select the points in AutoCAD that
    4. correspond to the points you picked in the image. When all the points have been identified ASRix will open and rectify the image. This step is unnecessary if you are getting your world coordinates from a database or entering them manually.
    5. ASRi - you select a PTS file and ASRix will insert the rectified image based on its
    6. rectification parameters.
    7. IC - allows you to trim the image so that only the areas you want remain visible.

  • Selection Options
  • Just as automated as ASR but with more control over how you select the image to be rectified are the following commands:


    ASRix / ACAD Component Commands (Section 2)

    This group of commands is the easiest way to get started as each command does only one thing. The Settings will have only a limited effect on these commands, specifically it will define a view for each image after it is inserted if the appropriate feature is checked in the Settings and another option will determine whether ASRix will close when an image is saved. The default image type and directory may also have an effect at first but these are overwritten by most recent image you have processed.

  • ASRr : open Rectifier
  • When you select this item, or type ASRr at the command line, you can select an entity or be presented with a file selection dialogue box showing image files (using the ASRO logic described above). When you select an image ASRix will open and allow you to select points, enter coordinates and rectify your image in the normal way. If you intend to select the real world points in AutoCAD you need not enter them before saving but you must then run the ASRp command. If you have the coordinates, either from your notes or in a database you should enter them, rectify and save. Then use the ASRi command to insert the rectified image.

  • ASRp : Select Points
  • When you select this item, or type ASRp at the command line, you will be presented with a dialogue box showing a list of the available PTS files of processed images. (they need not be rectified). Select the one you want and, if there are enough points identified in it you will be prompted to select the corresponding world coordinate point in AutoCAD. Assuming that you will be wanting precision and because you cannot select a 3D point without it ASRix will set OSNAP to 13 (End, Center,Node) for this procedure and set it back to what it was at the end. (as long as you don't abort during the process).

    When you have selected all the points ASRix will open and attempt to rectify the image based on the points you have selected. If the rectification is not perfect you can try moving the points in the image, if it is very bad it is usually because you didn't select the correct points (in either ASRix, AutoCAD or both) and if it is totally useless it usually means that you selected the points in the wrong order. Watch the 3D mapping values in this case.

  • ASRi : Insert Rectified Image
  • This command will insert an already rectified image into your drawing based on the parameters of the selected PTS file. You will be given a dialogue box showing the available point files and, if one is selected it will insert the associated image into the drawing based on the parameters contained in the file. If the image has not been rectified you will get an error message.

  • Insert un-Rectified Images
  • These options are provided to help with situations where a quality rectification is impossible due to inadequate field data.

  • ASRt : Annotate an image
  • This command sets up an environment useful for the annotation of an ASRix inserted image.
      Specifically it:
    1. adopts the coordinate system (UCS) of the image
    2. adopts the plan view of the image
    3. creates a layer [image]-TXT and makes it current
    This allows you to make notes, tracings or sketches that are on the same plane as the ASRix inserted image and on a layer with a related name.


    Working with ASRix inserted Images (Section 3)

  • AIC : Image Clip
  • This will allow you to change the visible area of the image selected by using the AutoCAD command ImageClip with the Polygonal option to trim those areas of the photo not on the rectification plane.

  • AVP : Previous View and UCS
  • Because there can be several steps involved in the rectification and insertion of an image, a simple AutoCAD Zoom Previous may not be not enough to return you to the view you had before you started the operation. This command performs that function.

  • Other View and UCS options
  • M2F : Move to Front
  • Moves the entities selected to the foreground of the display stack.
    i.e. nothing will be displayed on top of it

  • M2B : Move to Back
  • Moves the entities selected to the background of the display stack.
    i.e. everything will be displayed on top of it

    Note that the Image Frame will have to be on in order to select an image for this or any other command. This can be manipulated with the AIF command described below.

    M2F and M2B allow you to do two things:

    1. Fine tune the display for presentation purposes.
    2. AutoCAD versions prior to 2007 did not consider images when hiding entities so, to get an isometric view to look right you will have to tell AutoCAD which image occludes which.
    3. In order to pick things underneath other things
    4. For instance, if you trim an image to some linework in the drawing and the image ends up behind the lines you will not be able to pick it.

  • Detach Options

  • Layer and View Commands (Section 4)

    Most of these commands are Toggles which means that if you click them (or type them at the command line) they will switch from one state to another either Locked or UnLocked, Visible (On and Thawed) or Not (Frozen). In each case there will be a check mark beside the command if it conforms to the statement beside the command. These check marks will be meaningful only if the ASRix commands are used for these functions. If accessed directly from AutoCAD they may get out of sync but using them once will reestablish the connection.

  • IFV : Image Frame Visible (checked if true)
  • Around each image, whether trimmed or not, is a line called the Image Frame. The frames have to be ON to be able to select the image for any command but you will want them OFF for general viewing or to print the collages. At least this is the case in AutoCAD versions 2005 and earlier (v16.1). Beginning with AutoCAD 2006 (v16.2) the image frame command has 3 options (0=OFF, 1=ON, and 2=ON but will not plot). In this case AIF toggles between 0 and 2. The initial state when a drawing is opened is ON / 2

  • ALK : ASRix Layers Locked (checked if true)
  • Because it is quite difficult to insert ASRix images into 3D space manually and because of the confusion that will result if they are Deleted instead of Detached or if their layer changes, moving or deleting them by accident can be quite bothersome so the normal state of the layers generated by ASRix is LOCKED This toggle will reverse this state if you need to work with them though this will not be necessary when using ASRix commands (such as AIC (croping) and the Detach commands) as these will unlock the layer in question before proceeding.

  • ALV : ASRix Layers Visible (checked if true)
  • This command is needed because a drawing with a lot of images can become hard to work with and it is handy to have one button that will get them all out of the way. When working with a drawing containing a lot of images, especially if your computer is not very fast, it is a good idea to freeze these layers before you save the drawing as it can take a long time to load next time you open it.

  • Other Layer Tools

  • Utilities and DWF options (Section 5)

  • I3P : Identify 3D Points
  • This command adds a text string to the drawing with the 3D coordinates of the point selected. Largely left over from v1.x when AutoCAD did not automatically transfer the 3D coordinates to ASRix, this command was retained mostly because users found they used it for other things (like labelling elevations in archaeological drawings). You will be asked for a text size and text rotation angle and then to pick the points you want to label. A return will end the command.

  • ILB : Insert Linked Block
  • This too is a tool left over from the old days (before ASRix even) but it is still useful because the symbols it inserts include Attributes and Extended Entity Data that will show up as Hyperlinks in the DWF files exported from your drawing giving you a direct connection to the linked file. (later versions of AutoCAD can access these hyperlinks directly).

    The insertion routine first asks you to select a file to which to link after which it will prompt for a Block Name and a Scale Then, because it was initially designed for building Photo Key Plans it will ask for a Camera location and the Focus point. The symbol will then be inserted at the location selected pointing at the focus point.

    The ASRix distribution includes a camera symbol (PHOTO.DWG) which works with this command though you can create other blocks if you wish. For a block to work with ILB it must have a single attribute with a prompt (i.e. Modes = Constant:N Verify:N Preset:N). (If your block is non-directional press Enter when prompted for the focus point).

  • Xdata Customization
  • Export DWF
  • Utilities
  • ASRix Help
  • This will open ASRix.chm which is the compiled version of this manual. In AutoCAD you might be harassed by a DOS window that won't close by itself so it is probably better to open this file from ASRix itself instead of from AutoCAD.

    Next The Settings


    Up Index Cover

    Inquiries to: steve@icomos.org

    Generated by: CART
    (Thu Sep 13 07:01:54 2007 )