Go to: Synopsis. Return value. Flags. Python examples.
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.
None
checkdepends, checkres, input,
nooverwrite, output, verbose
Long name (short name) |
Argument types |
Properties |
input(i) |
string |
 |
|
output(o) |
string |
 |
|
checkdepends(c) |
boolean |
 |
|
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 |
 |
|
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 |
|
nooverwrite(nov) |
boolean |
 |
|
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 |
|
verbose(v) |
boolean |
 |
|
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. |
import maya.cmds as cmds
cmds.makebot( i='in_image', o='/usr/tmp/out_bot_file' )