home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk22 / dir08 / f013820.re_ / f013820.re
Text File  |  1996-04-02  |  3KB  |  77 lines

  1. #pragma suppressREQCmds
  2. /*----------------------------------------------------------------------+
  3. |                                    |
  4. |  Copyright (1993-95) Bentley Systems, Inc., All rights reserved.         |
  5. |                                    |
  6. |  "MicroStation" is a registered trademark and "MDL" and "MicroCSL"    |
  7. |  are trademarks of Bentley Systems, Inc.                    |
  8. |                                    |
  9. |  Limited permission is hereby granted to reproduce and modify this    |
  10. |  copyrighted material provided that the resulting code is used only     |
  11. |  in conjunction with Bentley Systems products under the terms of the    |
  12. |  license agreement provided therein, and that this notice is retained    |
  13. |  in its entirety in any such reproduction or modification.        |
  14. |                                    |
  15. +----------------------------------------------------------------------*/
  16. /*----------------------------------------------------------------------+
  17. |                                    |
  18. |    $Logfile:   J:/mdl/examples/cnvtspln/cnvtcmd.r_v  $
  19. |   $Workfile:   cnvtcmd.r  $
  20. |   $Revision:   6.3  $
  21. |       $Date:   31 Oct 1995 14:05:08  $
  22. |                                    |
  23. +----------------------------------------------------------------------*/
  24. /*----------------------------------------------------------------------+
  25. |                                    |
  26. |   Function -                                |
  27. |                                    |
  28. |    "Basic Dialog Example" Command Table Resources            |
  29. |                                                                       |
  30. +----------------------------------------------------------------------*/
  31. /*----------------------------------------------------------------------+
  32. |                                    |
  33. |   Include Files                               |
  34. |                                    |
  35. +----------------------------------------------------------------------*/
  36. #include <rscdefs.h>
  37. #include <cmdclass.h>
  38. #include <cnvtspln.h>
  39.  
  40. /*----------------------------------------------------------------------+
  41. |                                    |
  42. |  Local Defines                            |
  43. |                                    |
  44. +----------------------------------------------------------------------*/
  45. #define CT_NONE                    0
  46. #define    CT_MAIN                 1
  47. #define    CT_CONVERT                2
  48. #define    CT_BSPLINE                3
  49. #define CT_DIALOG                4
  50.  
  51. /*----------------------------------------------------------------------+
  52. |                                    |
  53. |   Main Commands                            |
  54. |                                    |
  55. +----------------------------------------------------------------------*/
  56. Table    CT_MAIN =
  57. {
  58.     {  1, CT_CONVERT,   MANIPULATION,    REQ,        "CONVERT" },
  59.     {  2, CT_DIALOG,     PARAMETERS,    REQ,        "DIALOG" },
  60. };
  61.  
  62. Table    CT_CONVERT =
  63.     { 1, CT_BSPLINE,     INHERIT,  NONE, "BSPLINE" },
  64. };
  65.  
  66. Table    CT_BSPLINE =
  67.     { 1, CT_NONE,     INHERIT,  CMDSTR(CMDNAME_ConvertBsplineCurve), "CURVE" },
  68.     { 2, CT_NONE,     INHERIT,  CMDSTR(CMDNAME_ConvertBsplineSurface), "SURFACE" },
  69. };
  70.  
  71. Table    CT_DIALOG =
  72.     { 1, CT_NONE,     INHERIT,  NONE,     "CNVTSPLN" },
  73. };
  74.