home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2002 April / maximum-cd-2002-04.iso / Software / Apps / gmax / gmaxinst.exe / gmaxsetup11.cab / editfunctions.ms < prev    next >
Encoding:
Text File  |  2001-09-12  |  624 b   |  21 lines

  1. -- Edit Functions MacroScript File
  2. --
  3. -- Created:          May 17 2000
  4. -- Last Updated:     June 12 2000
  5. --
  6. -- Author :   Frank DeLise
  7. -- Version:  3D Studio Max Version 4.0
  8. --
  9. -- 
  10. -- Filter and Operation Functions for conext sensitve menus.
  11. --***********************************************************************************************
  12. -- MODIFY THIS AT YOUR OWN RISK
  13. -- 
  14.  
  15.  
  16. fn ApplyOperation ctype oper =
  17. (
  18.     If (Modpanel.getcurrentObject () == $.baseobject) then oper $
  19.     If Classof (Modpanel.getcurrentObject ()) == ctype then (oper $.modifiers[modPanel.getModifierIndex $ (Modpanel.getcurrentObject ())])    
  20. )
  21.