Define Document View dialog box
 
 
 

Use this dialog box to define a document view to view external documents attached to an object.

At the Command prompt, enter adedefdocview.

To create a new document view, enter a new name in the Name field. Specify the location of the document name, the document type, and the application to use to display the document, and click Add.

To modify an existing document view, select it in the list. Enter new information in the Document View Definition section, and click Update.

Document view definitions are stored in the current drawing and not in the source drawings.

Document View Definitions

Displays the document views defined in this drawing.

To modify a view, select it and edit the information that appears in the Document View Definition section.

Delete

Delete the selected document view definition.

Note If you have associated documents that use this view, be sure to define a new view for those documents.
Delete All

Delete all document views in the list.

Note If you have associated documents that use these views, be sure to define new views for those documents.
Name

Enter a name for a new document view.

Names cannot contain spaces.

Description

Enter a description for the document view.

Expression

Enter information on where to find the name of the document associated with an object:

  • If the name of the associated document is stored in an object data table, click Expression and select the table and field that contains the document name.

    When you attach a record from this object data table to an object, the document listed in the specified field will be associated with the object.

  • If the name of the associated document is stored in an external database, click Expression and select the link template and column.

    When you attach a record from this database to an object, the document listed in the specified column will be associated with the object.

  • If the name of the associated document is stored elsewhere, for example, by giving the document the same name as the layer the object is on, enter an expression that specifies the location of the document name. For information on valid expressions, see Expression Evaluator.
  • You can type the name of a specific file. This file is then associated with every object.
Directory

Enter the directory where documents for this view are stored.

If you are unsure of the location, click [...] to locate the directory.

Ext

Enter the three-letter file extension for documents using this view.

For example, if you are creating a view for Word documents, enter doc. If the data attached to an object specifies a file name and extension, the extension in this field is ignored. If the data attached to the object does not specify the extension, AutoCAD Map 3D uses the extension in the field when searching for the document.

Command Line

Enter the command to run the associated application.

For example, if you are creating a view for a Word document, enter the path and file name for the Word program file.

If you are unsure of the location, click [...] to search your directories and locate the application file.

Launch Method

Select a launch method.

  • Select Default if the application specified for Command Line is a Windows application.
  • Select User if the application specified for Command Line is an ARX application. Enter the name of the viewing function. The function must be defined in the ARX application and made available through the use of acedDefun( ). AutoCAD Map 3D uses acedInvoke( ) to access the user-defined function. For more information about acedDefun( ), acedInvoke( ), or on how to create ARX applications, refer to the AutoCAD Object ARX online help.

If you are unsure, select Default.