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 ../../../_images/create.gif
 
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 ../../../_images/create.gif
 
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 ../../../_images/create.gif
 
input image file
nooverwrite (nov) bool ../../../_images/create.gif
 
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 ../../../_images/create.gif
 
output BOT file
verbose (v) bool ../../../_images/create.gif
 

Makebot will provide feedback if this flag is specifiedFlag can appear in Create mode of commandFlag 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' )

Previous topic

pymel.core.rendering.lsThroughFilter

Next topic

pymel.core.rendering.nodeIconButton

Core

Core Modules

Other Modules

This Page