Re: [Maya-Python] 'module' object has no attribute

2018-02-23 Thread zeth willie
glad it helped! On Friday, February 23, 2018 at 9:18:07 AM UTC-5, Jason Huang wrote: > > Works like a charm, Zeth. I am able to add, delete, move order of python > paths in a nice little GUI. Awesome! Thanks so much! > > -Jason > > On Wednesday, February 21, 2018 at 12

Re: [Maya-Python] 'module' object has no attribute

2018-02-21 Thread zeth willie
groups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d8f71a56-2a0a-405c-bd0e-0d127804077f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. #file: zbw_appendPath.py #Author: zeth willi

Re: [Maya-Python] Creating a curve-based wireframe

2017-06-02 Thread zeth willie
at 3:58:24 PM UTC-4, zeth willie wrote: > > Just as an aside, since I know this a python for maya group and don't want > to derail this into some kind of flame war, but stuff like this is > ridiculously easy in Houdini as compared to Maya. Don't know if you're > there yet, bu

Re: [Maya-Python] Creating a curve-based wireframe

2017-06-02 Thread zeth willie
Just as an aside, since I know this a python for maya group and don't want to derail this into some kind of flame war, but stuff like this is ridiculously easy in Houdini as compared to Maya. Don't know if you're there yet, but at some point, it just becomes easier to say "f*** it" and bite

[Maya-Python] Re: how many lines per function

2017-04-27 Thread zeth willie
I actually made a video about refactoring python for maya basics a little while ago where I talk about some of that exact stuff! Never got around to uploading it, I'll do that soon, maybe there will be something helpful in it (depending on your coding prowess). To echo Marcus, it's hard to be

[Maya-Python] Re: triple switch node

2017-04-18 Thread zeth willie
I recently did a bunch of stuff scripting stuff into triple switches and it's tricky largely bc of the area Andres is talking about. If all you're doing is setting it up once, it's probably fine and not too hard, but all of those index numbers start to get a little harder to manage if you're

Re: [Maya-Python] Getting the original shader assignment

2016-10-07 Thread zeth willie
I would look at message attributes. i.e. create a message attribute somewhere on the rig (top level?) and plug the "message" attr of the shader or shading group into that. Then it's persistent across maya sessions,etc. Should be pretty easy to add to your script, too. #create and connect

[Maya-Python] How can I change a curve's display color when it is used as a controller?

2013-08-02 Thread zeth willie
I wrote a little thing a while back called zbw_attributes that should do most of what you want (http://www.williework.blogspot.com/p/downloads.html). I think the problem is the color change is happeing on the shape node, not the transform (shape node is typically a better way to do things).

[Maya-Python] Re: UI questions

2012-11-07 Thread zeth willie
Jeremy Ernst has a series of videos on vimeo about maya ui stuff. They're very good. They start here: https://vimeo.com/42848594 -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe