Mel Commands

 

Below is a list of mel commands (and corresponding flags) that work with MtoA. These mel commands can save time when used as hotkeys in Maya to speed up your workflow for example.

 

CommandDefinitionFlags 

arnoldRender

 -b -batch 
   -cam -camera  Name
  -h -heightUnsignedInt
  -ofn -origFileNameString
  -p -port UnsignedInt
  -seq -frameSequenceString
  -srv -saveToRenderViewString
  -w -widthUnsignedInt

arnoldIpr

 -cam -cameraName
  -h -heightUnsignedInt
  -m -modeString
  -n -nodeString
  -w -widthUnsignedInt

arnoldBakeGeo

 -f -filenameString

arnoldExportAss

Exports the current scene to a .ass file.-a -asciiAss 
  -b -batch 
  -bb -boundingBox 
  -c -compressed 
  -cam -cameraString
  -ef -endFrame Float
  -ep -expandProcedurals 
  -f -filenameString
  -fp -fullPath 
  -fs -frameStepFloat
  -fsh -forceTranslateShadingEngines 
  -ll -lightLinksUnsignedInt
  -m -maskUnsignedInt
  -o -optionsString
  -pr -exportPrefixString
  -s -selected 
  -sf -startFrameFloat
  -shg -exportAllShadingGroups 
  -sl -shadowLinksUnsignedInt

arnoldImportAss

Imports a .ass file.-f -filenameString

arnoldPlugins

 -aov -listAOVs  
  -gad -getAttrData String
  -gbd -getBuildDate 
  -gbi -getBuildID 
  -gcv -getClmVersion 
  -gev -getExtensionApiVersionString
  -las -listAOVShaders 
  -lcs -listCustomShapes 
  -le -loadExtension 
  -llx -listLoadedExtensions 
  -lnt -listAOVNodeTypes 
  -lop -listOperators 
  -lsp -listPluginsString
  -lst -listTranslatorsString
  -n -nodePlugName
  -nt -nodeTypeString
  -sdt -setDefaultTranslatorString String
  -ule -unloadExtensionString

arnoldListAttributes

   

arnoldTemperaturetoColor

   

arnoldFlushCache

Flushes Arnold's texture caches.-fa -flushallon|off
  -q -quadson|off
  -s -skydomeon|off
  -st -selected_textureson|off
  -t -textureson|off

arnoldCopyAsAdmin

 -f -fileString
  -o -outputString

arnoldRenderView

Opens the Arnold Renderview window-cam -camera Name
  -get -getoptionString
  -h -heightUnsignedInt
  -m -modeString
  -opt -optionString String
  -r -regionUnsignedInt UnsignedInt UnsignedInt UnsignedInt
  -st -statusString
  -w -widthUnsignedInt

arnoldUpdateTx

 -f -force 

arnoldScene

 -l -listString
  -m -modeString
  -q -query  

arnoldLicense

 -cc -copyToClipboardString
  -gn -getNlmServer 
  -gr -getRlmServer 
  -rs -runServerStatus 
  -sn -setNlmServerString
  -sr -setRlmServerString

arnoldViewOverrideOptionBox

 -m -modeString

arnoldExportToMaterialX

 -f -filenameString
  -fp -fullPathon|off
  -l -lookString
  -p -propertiesString
  -r -relativeon|off
  -s -separatorString

arnoldExportOperators

 -f -filenameString
  -sel -selectionon|off
  -shd -shaderson|off

aiViewRegionCmd

 -c -create 
  -d -delete 

 

 

 

 

  • No labels