pymel.core.rendering.renderInfo

renderInfo(*args, **kwargs)

The renderInfo commands sets geometric properties of surfaces of the selected object. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
castShadows (cs) bool ../../../_images/create.gif
 
Determines if object casts shadow or not.
chordHeight (ch) float ../../../_images/create.gif
 
Tessellation subdivision criteria.
chordHeightRatio (chr) float ../../../_images/create.gif
 
Tessellation subdivision criteria.
doubleSided (ds) bool ../../../_images/create.gif
 
Determines if object double or single sided.
edgeSwap (es) bool ../../../_images/create.gif
 
Tessellation subdivision criteria.
minScreen (ms) float ../../../_images/create.gif
 
Tessellation subdivision criteria.
name (n) unicode  
   
opposite (o) bool ../../../_images/create.gif
 
Determines if the normals of the object is to be reversed.
smoothShading (ss) bool ../../../_images/create.gif
 
Determines if smooth shaded, or flat shaded - applies only to polysets.
unum (un) int ../../../_images/create.gif
 
Tessellation subdivision criteria.
useChordHeight (uch) bool ../../../_images/create.gif
 
Tessellation subdivision criteria.
useChordHeightRatio (ucr) bool ../../../_images/create.gif
 
Tessellation subdivision criteria.
useDefaultLights (udl) bool ../../../_images/create.gif
 
Obsolete flag.
useMinScreen (ums) bool ../../../_images/create.gif
 
Tessellation subdivision criteria.
utype (ut) int ../../../_images/create.gif
 
Tessellation subdivision criteria.
vnum (vn) int ../../../_images/create.gif
 
Tessellation subdivision criteria.
vtype (vt) int ../../../_images/create.gif
 
Tessellation subdivision criteria.Flag 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.renderInfo

Example:

import pymel.core as pm

import maya.cmds as cmds

pm.renderInfo( doubleSided=False, opposite=True )