Well since I'm learning, this will only make me stronger Muwhahahaha!!
On Wednesday, September 13, 2017 at 10:20:38 PM UTC-7, Marcus Ottosson
wrote:
>
> As far as I know, no it doesn't. :( It's bitten me many times as well. I
> don't think you can even copy the text, have Maya crash, and then pa
As far as I know, no it doesn't. :( It's bitten me many times as well. I
don't think you can even copy the text, have Maya crash, and then paste it
back. It'll go ahead and wipe the copy-buffer for you. It's out to get you!
On 14 September 2017 at 05:51, jettam wrote:
> If maya crashes is their
If maya crashes is their a way to recover the work that I have done in the
script window ? Like does it save it in a temp folder somewhere ?
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group
Hi Luke,
Thanks for chipping in !!
I've already handled the Deformed suffix.
My char is referenced, will try to import and retry when I reach work.
Has it worked for you ?
Will update here soon.
Thanks again
Warm Regards
River
--
You received this message because you are subscribed to the Google
I did nearly this exact thing like 4 years ago. same issues.
what I ended up doing was bringin my imagemap in that I wanted to use for
left/right splits, using it as a textures, then quering the UV position of
each point and getting the color value from the image, and storing that
into a list so t
Take a look at findChannelForObject() in doImportCacheFile.mel. It has a
fairly common failure case when matching a channel name from the xml to a
mesh in the scene - if the mesh has "..Deformed" on it it can fail. You
could try match without the "Deformed" in those cases...
if ($foundMatch == -
Ok thanks. I will revisit my notes on scope.
On Wednesday, September 13, 2017 at 11:36:56 AM UTC-7, damonshelton wrote:
>
> The declaration of x is in the local scope of A.
> The variable x inside makespiralstairs has no declaration because x is not
> declared as global. Not a matter of order, i
The declaration of x is in the local scope of A.
The variable x inside makespiralstairs has no declaration because x is not
declared as global. Not a matter of order, it's a matter of scope. Passing
x to the function will fix your issue. That or declare x as a global which
I don't suggest. There's
Inc = str(x+1) has been defined in the earlier "for x in" command has it
not ?
I did another version earlier (with out a "for in" command in the second
function). And this worked without having to put a x in the
makeSpiralStairs() function.
I made a order of events as I see it. (see the scr
Inc = str(x+1)
X is not defined before this line
X is defined when you execute the for x in range loop. You have to pass x
into the makespiralstairs function to use it. X is a local variable
On Wed, Sep 13, 2017 at 10:35 AM jettam wrote:
> I thought I had defined it earlier, here: Then after
I thought I had defined it earlier, here: Then after that there is a call
to the function makeSpiralStairs()
for *x* in range(numRobots):
AAA = random.uniform(-20,20)
BBB = random.uniform(-20,20)
CCC = random.uniform(-20,20)
Grp2 = makeSpiralStairs()
Actually, on second thought, before you spend anymore time thinking on
this, I've decided to shift gears to tackle this tool - I was having a lot
of problems using the artisan context stuff, so instead, I'm going to try a
more "handmade" solution using the python api. Basically at this point,
You are using x inside of makespiralstairs function but not defining it or
passing it in
def makeSpiralStairs(x):
Then passing x in when you call it
On Wed, Sep 13, 2017 at 10:16 AM jettam wrote:
> Could someone help me with this code. This function is supposed to build a
> spiral staircase t
Could someone help me with this code. This function is supposed to build a
spiral staircase then distribute it randomly X amount of times. I have been
able to make it work with another object creation but I cant seem to figure
this one out.
Here is the error I am getting. And bellow is my code.
Hi all,
I am trying to import geometry caches on a list of objects.I am exporting
these as a single file.
I am not able to use ths command :
*pm.mel.doImportCacheFile(myCache, "", [objs], list())*
I get the following error : *Channel names did not match selected objects.*
Tried searching
Thanks for the responses guys - I cleaned up the path to use forward
slashes and I *think* that should be working fine now. Unfortunately, I'm
now having a new issue. Here is the current code:
import maya.cmds as cmds
# As Simon mentioned, I have the paint blendShape Weights tool open before
Just gave it a try on a Windows machine, it works with only the single '/'
On Wednesday, 13 September 2017 12:23:15 UTC+10, Simon Anderson wrote:
>
> Will have to give that a try when I get home. At the moment I'm on a Linux
> box, and just double checked, singles dont seem to play fair
>
--
Y
17 matches
Mail list logo