pymel.core.rendering.makebot¶
- makebot(*args, **kwargs)¶
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.
Flags:
Long Name / Short Name Argument Types Properties checkdepends / c bool the BOT file should only be generated if it doesn’t already exists, or if it is older than the source file checkres / r int 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 unicode input image file nooverwrite / nov bool 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 unicode output BOT file verbose / v bool Makebot will provide feedback if this flag is specified Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.makebot
Example:
import pymel.core as pm pm.makebot( i='in_image', o='/usr/tmp/out_bot_file' )