Other documents: assign display metacategory

<< Click to Display Table of Contents >>

Navigation:  Basic Concepts > Other Documents >

Other documents: assign display metacategory

Other documents: assign metacategory for display in grids

The definition file SCHEMA\DBWGTYPES.TXT allows the assignment of the metacategories ASSEMBLY/PART/DRAWING to non CAD documents based on the extension or on wild-card matching characters in the file name.

To enable this feature you've to set the following option:
General → More → images_checkONUse 'SCHEMA/DBWGTYPES.TXT' generic document's types definition file

The above option is grayed if no SCHEMA\DBWGTYPES.TXT file has been found at startup time.

Example

To have the *.DWG and *.DXF being recorded as Drawings and displayed in the drawings grid, the file content would be:

;===================================================================

;
; DBWorks (C)MechWorks Generic Document's type mapping file
;
; Format:
; 01234567890123456789012345678...
; <EXT1>
;     <TYPE CHARACTER>
; <EXT2>
;     <TYPE CHARACTER>
; ....
;
;===================================================================
DWG
 D
DXF
 D

Support for Drawing → Part/Assembly Generic Documents structures

When working with parent-child structures created using Generic Documents with the database type T altered using the SCHEMA\DBWGTYPES.TXT definition file, it is possible, for Generic Documents marked as T='P' or T='A', to display the parent-drawings-related Open and Open Master Drawing RMB popup menus.