>
> I am doing a simple unittest in maya while using chadvernon page as an 
>> example..
>>
>> I tried something very simple such as creating a polyCube, while that 
>> works, I had thought of replacing the line with a custom node creation in 
>> which its code comes from my company's proprietary library.
>> As soon as I run this updated code, I got an error - *ValueError: No 
>> object matches name: Stack *in which I think it is telling me that it is 
>> unable to locate this particular node name..
>>
>
> Sounds right
>

Why is this so? The reason I asked this is because since I am creating a 
mesh using cmds.polyCube(), shouldn't it work in the same way if I were to 
create something similar but the coding is different?

As for the link, I 
used http://www.chadvernon.com/blog/maya/unit-testing-in-maya/ as an 
example..

I am trying to check if something is within the project folder, if it is 
not, it will then looked into another project folder, grab that particular 
file and test it..
For example, if this char_rig does not exists in ProjectA, it will grab 
this char_rig in ProjectB (ProjectB is the main library) and used it for 
testing which is why I need to 'create'/ import the nodes.. Am I very wrong 
in this aspect, for unit-testing part?

At least that is how I test it if I am opening a Maya session..

-- 
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 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/b362ec0e-4f45-4c5c-a413-903ca39ffafa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to