On Wednesday, October 24, 2012 4:09:14 PM UTC+5:30, Daz wrote:
Heya
One of my ancient enemies since I'm learning python are text fields... I just
cant figure out how to get them to work arrr. I want to be able to type in a
name and then use it with my functions, when ever I want to
Hello
I am getting this error when I run my following code. Could somebody help me
figure out what I could add or replace since it did work before now it is not.
CODE THAT I WANT TO RUN:
import maya.cmds as cmds
def main():
root_LOC=cmds.spaceLocator (n = 'root_LOC', r = 2)
cmds.move
If I paste this code into my console, I don't get an error.
perhaps you have accidentally modified the cmds module in memory. Maybe
you've set a function to a list.
-brad
On Apr 24, 2013, at 11:26 PM, Diana Chacha dayanacha...@gmail.com wrote:
import maya.cmds as cmds
def main():
I will try that, but it was working find before. Did you run it in maya?
On Wed, Apr 24, 2013 at 8:41 PM, b...@fie.us b...@fie.us wrote:
If I paste this code into my console, I don't get an error.
perhaps you have accidentally modified the cmds module in memory. Maybe
you've set a function
Yes… otherwise I think it would have bombed upon importing maya.cmds…
On Apr 24, 2013, at 11:56 PM, Diana Chacha dayanacha...@gmail.com wrote:
I will try that, but it was working find before. Did you run it in maya?
On Wed, Apr 24, 2013 at 8:41 PM, b...@fie.us b...@fie.us wrote:
If I
I also didn't find any error.
But I like to point out couple other things in your code.
1. root_LOC=cmds.spaceLocator (n = 'root_LOC', r = 2)
cmds.move (0, 18.485, -2.815, 'root_LOC', relative=True)
here, you making a loctor in maya and assigning it to the variable name
root_LOC, but in
среда, 24 апреля 2013 г., 3:17:49 UTC+4 пользователь vux написал:
I have one meshData and pointsArray.
I need copy mesh from meshData by points in pointsArray and have reult
meshData with all copied polygons.
Need fast solution.
http://somesanctus.blogspot.ru
soudce code included
--
You
среда, 24 апреля 2013 г., 3:17:49 UTC+4 пользователь vux написал:
I have one meshData and pointsArray.
I need copy mesh from meshData by points in pointsArray and have reult
meshData with all copied polygons.
Need fast solution.
Я забыл, ты не любишь читать исходники чужие:)
--
You received
Edit:-
The Move command should be
cmds.move (0, 18.485, -2.815, root_LOC[0], relative=True)
--
You received this message because you are subscribed to the Google Groups
Python Programming for Autodesk Maya group.
To unsubscribe from this group and stop receiving emails from it, send an email
среда, 24 апреля 2013 г., 3:17:49 UTC+4 пользователь vux написал:
I have one meshData and pointsArray.
I need copy mesh from meshData by points in pointsArray and have reult
meshData with all copied polygons.
Need fast solution.
Конечно можешь пересилить себя и попросить исходники, но можно
10 matches
Mail list logo