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

Synopsis

renderInfo([castShadows=boolean], [chordHeight=float], [chordHeightRatio=float], [doubleSided=boolean], [edgeSwap=boolean], [minScreen=float], [opposite=boolean], [smoothShading=boolean], [unum=int], [useChordHeight=boolean], [useChordHeightRatio=boolean], [useDefaultLights=boolean], [useMinScreen=boolean], [utype=int], [vnum=int], [vtype=int])

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

renderInfo is undoable, queryable, and editable.

The renderInfo commands sets geometric properties of surfaces of the selected object.

Return value

None

In query mode, return type is based on queried flag.

Flags

castShadows, chordHeight, chordHeightRatio, doubleSided, edgeSwap, minScreen, opposite, smoothShading, unum, useChordHeight, useChordHeightRatio, useDefaultLights, useMinScreen, utype, vnum, vtype
Long name (short name) Argument types Properties
chordHeight(ch) float create
Tessellation subdivision criteria.
chordHeightRatio(chr) float create
Tessellation subdivision criteria.
useChordHeight(uch) boolean create
Tessellation subdivision criteria.
useChordHeightRatio(ucr) boolean create
Tessellation subdivision criteria.
castShadows(cs) boolean create
Determines if object casts shadow or not.
doubleSided(ds) boolean create
Determines if object double or single sided.
edgeSwap(es) boolean create
Tessellation subdivision criteria.
minScreen(ms) float create
Tessellation subdivision criteria.
useMinScreen(ums) boolean create
Tessellation subdivision criteria.
opposite(o) boolean create
Determines if the normals of the object is to be reversed.
smoothShading(ss) boolean create
Determines if smooth shaded, or flat shaded - applies only to polysets.
useDefaultLights(udl) boolean create
Obsolete flag.
unum(un) int create
Tessellation subdivision criteria.
utype(ut) int create
Tessellation subdivision criteria.
vnum(vn) int create
Tessellation subdivision criteria.
vtype(vt) int create
Tessellation subdivision criteria.

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.renderInfo( doubleSided=False, opposite=True )