home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / cad / dump14.zip / DUMP14.TXT next >
Text File  |  1993-05-07  |  6KB  |  158 lines

  1.  
  2.  
  3. DWGDUMP is a utility for analyzing AutoCAD drawings              Ver. 1.4
  4.  
  5.  
  6. Written By: Rick Llewellyn (Compuserv ID, 73417,1357)
  7.             HDR Engineering, Inc.             
  8.             8404 Indian Hills Dr.            
  9.             Omaha, NE 68114-4049
  10.  
  11.  
  12.          --- This software is released into the public domain ---
  13.  
  14. DWGDUMP was written to address quality control and translation issues within 
  15. our company. The development took place over a few weeks here and there and 
  16. we have not put any further time into development. As a result, the format of
  17. the output data is a bit sloppy, but the data seems to be correct. I would 
  18. appreciate any comments to make the software more useful.
  19.  
  20.  
  21.  
  22. USAGE   : dwgdump [-option ...] filespec
  23.  
  24. OPTIONS : 
  25.           h = Header data only.
  26.           b = Block list only.
  27.           v = View list only.
  28.           p = Viewport list only.
  29.           u = UCS list only.
  30.           l = Layer list only.
  31.           y = Linetype list only.
  32.           s = Shape list only.
  33.           t = CDF list of time variables.
  34.           r = AutoCAD version number only.
  35.           e = Entity summary
  36.  
  37.  
  38. SAMPLE CALLS : 
  39.  
  40. dwgdump -hvly *.dwg      
  41. (would dump header, view, layer and linetype list forall drawings in the 
  42. current directory)
  43.  
  44. dwgdump -r c:\acad\*.dwg 
  45. (would dump version number of each drawing in the C:\ACAD directory.)
  46.  
  47. dwgdump -sb c:\acad
  48. (would FAIL, since the dwg file extension has not been specified)
  49.  
  50. dwgdump -sb c:\acad\*.dwg >out.lst
  51. (would dump shape and block list to the file named OUT.LST in the current
  52. directory)
  53.  
  54. dwgdump -t c:\acad\*.dwg >times.cdf
  55. (would generate a file suitable to use to import into a database or 
  56. spreadsheet)
  57.  
  58. dwgdump -e c:\acad\*.dwg |more
  59. (would pipe the screen output to the MORE filter to show a page of the
  60. entity summaries for all drawings in the C:\ACAD directory)
  61.  
  62.  
  63. OPTION DESCRIPTIONS :
  64.  
  65. [-h] the header that is dumped contains data that is typically in the
  66.      header section of a DXF file. All variable names are output in 
  67.      alphabetical order and the dimension variables are segregated into
  68.      a separate section. The header list is not all inclusive, there are a
  69.      few obscure variables which are not dumped.
  70.  
  71. [-b] the block list is pulled from the tables and listed in the order in
  72.      which they are found, presumably the order in which they were defined
  73.      or inserted. Nested blocks are not identified.
  74.  
  75. [-v] the view list is also pulled from the tables and are listed in the in
  76.      which they were created.
  77.  
  78. [-p] the viewport list shows the viewports and ones that are marked as
  79.      purged, or no longer necessary.
  80.  
  81. [-u] the UCS list shows the UCSs which are defined and lists their names.
  82.  
  83. [-l] the layer list shows the layer name, color and linetype.
  84.  
  85. [-y] the linetype list shows the linetype name and description.
  86.  
  87. [-s] the shape list shows the names of the shapes which are referenced
  88.      in the drawing.
  89.  
  90. [-t] lists the drawing name, date created, time created, last date updated, 
  91.      last time updated, time in editor and time in user timer. Times are
  92.      expressed as 0000:00:00.000 (Hrs:Min:Seconds.Milliseconds).
  93.  
  94. [-r] this option simply prints the version number of the drawing.
  95.  
  96. [-e] shows the numbers of types of entities in the drawing. Currently
  97.      dumps 3D FACE, 3D LINE, ARC, BLOCK INSERT, CIRCLE, LINE, POINT,
  98.      PLINE, SOLID, TEXT and TRACE entity counts.
  99.  
  100. SUGGESTIONS FOR USE :
  101.  
  102. Use the -r option to locate old .DWG files which may need to be updated.
  103. Use the -l option to verify the correctness and visibility of layers.
  104. Use the -b option to locate a block which may not have been WBLOCKed.
  105. Use the -h option to verify menu names.
  106. Use the -t option to build a report to import into xBase.
  107. Use the -l option, redirect to file, import file into .DWG file.
  108. Use the -e option to determine if non-translatable entities have been used.
  109.  
  110.  
  111. REVISION HISTORY
  112. --------------------------------------------------------------------------
  113. Version 1.4 (5/7/93)
  114.  
  115. Added the [-e] option to obtain quick checks & counts of entities.
  116. Also corrected a bug which prevented long menu names from dumping.
  117.  
  118. --------------------------------------------------------------------------
  119. Version 1.3 (8/2/92) NOT RELEASED ON COMPUSERV
  120.  
  121. Added some code to print the XREF path of an XREF. It is printed as
  122. part of the block list and only is printed if a drawing has an XREF
  123. that is not purged. There is some anomaly which I do not understand
  124. and there are some non XREF things are ocassionally appearing.
  125. --------------------------------------------------------------------------
  126. Version 1.2 (12/12/91)
  127.  
  128. Corrected formats of a few of the header variable outputs.
  129.  
  130. Added [-t] option which reports values of the timer variables.
  131. --------------------------------------------------------------------------
  132. Version 1.1 (11/26/91)
  133.  
  134. Fixes several bugs and also provides some enhancements
  135. to the output.
  136.  
  137. There was a bug which prevented more than 33 blocks, layers, etc. to
  138. be displayed. DWGDUMP will now list up to; 200 blocks, 200 layers, 
  139. 100 shapes, 100 linetypes, 20 views and 20 UCSs. This type of bug caused
  140. systems to hang.
  141.  
  142. Some Y & Z values for header values were not being printed. This should
  143. take care of all of those instances. 
  144.  
  145. Formatting for the values was reviewed, exponential notation is now 
  146. used to display some of the larger values. Each section now has a 
  147. header consisting of the '=' character. Each section ends with a trailer
  148. consisting of a '-' character. 
  149.  
  150. The layer listing was reformatted so that a layer is specifically ON or 
  151. OFF.
  152.  
  153. All lists are now in sorted order, rather than the order found.
  154.  
  155. Eliminated need to use lower case letters on command line.
  156. --------------------------------------------------------------------------
  157.  
  158.