how to render wireframe in maya
help me
On 12/4/08, Omar Agudo <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am trying to render a new object placed in a new node in the dag.
>
> I am using the plug-in example of the API (basicShape.py)
>
> The problem is that when I render the scene, the new node (with the
> new object), it doesn´ t appear.
> The code that I use is:
>
>
>
> #IMPORT ZONE
> import maya.standalone
> import maya.OpenMaya as OpenMaya
> import maya.cmds as cmds
>
> maya.standalone.initialize(name='python') # I use the
> standalone mode
>
> import maya
> maya.cmds.loadPlugin("basicShape.py")
> maya.cmds.createNode("spBasicShape")
>
> cam = cmds.camera()
> cmds.render(cam[0],batch=True,x=768,y=576)
>
>
>
>
> What I am doing wrong???
>
> Thank you,
>
> Omar.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---