Go to: Synopsis. Return value. Flags. Python examples.

Synopsis

makebot([checkdepends=boolean], [checkres=uint], [input=string], [nooverwrite=boolean], [output=string], [verbose=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

makebot is undoable, NOT queryable, and NOT editable.

The makebot command takes an image file and produces a block ordered texture (BOT) file, to be used for texture caching. If a relative pathname is specified for the input image file, project management rules apply. If a relative pathname is specified for the output BOT file, project management rules apply and gets put into the sourceImages directory.

Return value

None

Flags

checkdepends, checkres, input, nooverwrite, output, verbose
Long name (short name) Argument types Properties
checkdepends(c) boolean create
the BOT file should only be generated if it doesn't already exists, or if it is older than the source file
checkres(r) uint create
the BOT file should only be generated if its resolution (maximum of width and height) is larger than the minimum value specified by the argument
input(i) string create
input image file
nooverwrite(nov) boolean create
If -c and/or -r indicate that the BOT file should be generated but if already exists, then this flag will prevent the file from being overwritten
output(o) string create
output BOT file
verbose(v) boolean create
Makebot will provide feedback if this flag is specified

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

cmds.makebot( i='in_image', o='/usr/tmp/out_bot_file' )