Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies) Members Gallery
(516 replies)
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

can't re-set material editor slots
show user profile  Boing
when i try to re-set my material editor slots i get a message saying " Runtime error: cannot assign undefined to material editor slots" and a Macro_mediautilities window opens with the following script

macroScript clear_medit_slots
enabledIn:#("MAX", "VIZ")
category:"Medit Tools"
internalCategory:"Medit Tools"
ButtonText:"Reset Material Editor Slots"
tooltip:"Reset Material Editor Slots"

on execute do
defaultMtlLibFile = MeditUtilities.getDefaultLibraryFile()
if defaultMtlLibFile != undefined do
defaultMtlLib = loadTempMaterialLibrary defaultMtlLibFile
global _meditMaterialsBeforeReset = #()
for i in 1 to meditMaterials.count do
append _meditMaterialsBeforeReset meditMaterials[i]
if i <= defaultMtlLib.count then
meditMaterials[i] = defaultMtlLib[i]
meditMaterials[i] = defaultMtlLib[defaultMtlLib.count]

I'm not a scripter but it seems that there is no material defined to place into the slots on re-set. I've recently had a problem with my material editor not giving me acess to slate as i had loaded up my 2010 menus into 2011 but i've since re-set to default menus and set vray as the default type. Can anyone help?
read 1148 times
2/28/2011 1:39:16 PM (last edit: 2/28/2011 1:39:16 PM)
#Maxforums IRC
Open chat window