home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2002 April / GSSH42002.iso / EDITOREN / DS / gmax / gmaxinst_1-1.exe / gmaxsetup11.cab / Macro_Helpers.mcr < prev    next >
Text File  |  2002-02-13  |  3KB  |  93 lines

  1. -- Macro Scripts File
  2. -- Created:  Jan 10 1999
  3. -- Modified: Jan 28, 1999
  4. -- Author:   Frank DeLise
  5. -- Macro Scripts for Helpers
  6. --***********************************************************************************************
  7. -- MODIFY THIS AT YOUR OWN RISK
  8.  
  9.  
  10. macroScript Dummy 
  11.             category:"Helpers and Gizmos" 
  12.             internalcategory:"Helpers and Gizmos" 
  13.             tooltip:"Dummy Object"
  14.             ButtonText:"Dummy" 
  15.             Icon:#("Helpers",1)
  16. (
  17.     on execute do StartObjectCreation Dummy
  18.     on isChecked return mcrUtils.IsCreating Dummy 
  19. )
  20.  
  21. macroScript Point 
  22.             category:"Helpers and Gizmos" 
  23.             internalcategory:"Helpers and Gizmos" 
  24.             tooltip:"Point Object" 
  25.             ButtonText:"Point"
  26.             Icon:#("Helpers",2)
  27. (
  28.     on execute do StartObjectCreation Point
  29.     on isChecked return mcrUtils.IsCreating Point 
  30. )
  31.  
  32. macroScript Protractor 
  33.             category:"Helpers and Gizmos" 
  34.             internalcategory:"Helpers and Gizmos" 
  35.             tooltip:"Protractor Object"
  36.             ButtonText:"Protractor" 
  37.             Icon:#("Helpers",3)
  38. (
  39.     on execute do StartObjectCreation Protractor
  40.     on isChecked return mcrUtils.IsCreating Protractor
  41. )
  42.  
  43. macroScript Grid 
  44.             category:"Helpers and Gizmos" 
  45.             internalcategory:"Helpers and Gizmos" 
  46.             tooltip:"Grid Object"
  47.             ButtonText:"Grid" 
  48.             Icon:#("Helpers",4)
  49. (
  50.     on execute do StartObjectCreation Grid
  51.     on isChecked return mcrUtils.IsCreating Grid 
  52. )
  53.  
  54. --**********************************************************
  55. -- Added 11/9/2000 FR
  56. -- Grid Right Click Menus
  57. macroScript ActivateGrid 
  58.             category:"Helpers and Gizmos" 
  59.             internalcategory:"Helpers and Gizmos" 
  60.             tooltip:"Activate Grid (Context)"
  61.             ButtonText:"Activate Grid" 
  62.  
  63. (
  64.     On IsEnabled Return (if activegrid != $ do true)
  65.     On IsVisible Return Filters.Is_Grid $
  66.  
  67.     On Execute Do Try(ActiveGrid = $)Catch()
  68. )
  69. macroScript ActivateHomeGrid 
  70.             category:"Helpers and Gizmos" 
  71.             internalcategory:"Helpers and Gizmos" 
  72.             tooltip:"Activate HomeGrid (Context)"
  73.             ButtonText:"Activate HomeGrid" 
  74. (
  75.     On IsEnabled Return (if activegrid != undefined do true)
  76.     On IsVisible Return Filters.Is_Grid $
  77.  
  78.     On Execute Do Try(max activate home grid)Catch()
  79. )
  80.  
  81. --**********************************************************
  82. macroScript Tape 
  83.             category:"Helpers and Gizmos" 
  84.             internalcategory:"Helpers and Gizmos" 
  85.             tooltip:"Tape Measure Object"
  86.             ButtonText:"Tape Measure" 
  87.             Icon:#("Helpers",5)
  88. (
  89.     on execute do StartObjectCreation Tape
  90.     on isChecked return mcrUtils.IsCreating Tape 
  91. )
  92.  
  93.