I get values for a nurbsSurface, but 0,0,0 when used on a poly. What type
of object are you using?


On Thu, Aug 23, 2012 at 9:44 AM, stephenkmann <[email protected]>wrote:

> just tried it via mel based on the help docs...
>  same exact results..
>    so, not helpful, but I get same results..
>
> -=s
>
>
> On Thu, Aug 23, 2012 at 12:29 PM, olheiros <[email protected]> wrote:
>
>> Hi all i've been trying to copy geometry to specific uv position in 3d
>> space.
>> the maya docs gives me this:
>> -------
>>
>> import maya.cmds as cmds
>>
>> cmds.pointOnSurface( 'surface1', u=0.5, v=1.0, position=True )
>> # Returns the (x,y,z) position of the surface at parameter (u=0.5,v=1.0).
>>
>> -------
>>
>> but whatever parameter i give it. it always returns [0.0,0.0,0.0]
>>
>> any thoughts??
>> i know that API stuff probably will do the job, but im still not
>> confortable to dive into API  yet.
>>
>> cheers
>> Ricardo
>>
>> --
>> view archives: http://groups.google.com/group/python_inside_maya
>> change your subscription settings:
>> http://groups.google.com/group/python_inside_maya/subscribe
>>
>
>
>
> --
> [email protected]
> http://smannimation.blogspot.com/
> http://nymayausersgroup.blogspot.com/
> http://smann3d.blogspot.com/
>
>  --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to