I've been looking into Python for maya of late and i'm getting the hang of it. One concept i haven't wrapped my head around is the query flag and how i can use it. More specifically i'm trying to query if a UV set exists and i'm assuming i can attempt to select the UV set i want using polyUVSet and query it, then use the…
anybody knows how to query the highpoly count of a smooth mesh model? it's in the hud, but i couldn't find a way to query it or alternativly a formula to calculate.
Hi guys, neither of these suggestions work. This one always returns false, even if the UV editor is open window -query -exists "polyTexturePlacementPanel1"; and this code just fails to find anything with an error window -query -vis "polyTexturePlacementPanel1"; this also fails to find anything window -query -vis…
I've seen posts on forums talking about estimated prices for commissions on humanoid models and animalistic models, but I haven't seen anything about mechs in particular. Are fully rigged and textured mechs on average more expensive to commission than rigged and textured humanoid models because of the complexity of them?…
Hey guys, I am working on a script which queries for bitmaps in all DX Shaders in a multi-sub material.Here is what i have done so far.Where i am halting is, when i am querying the bitmap filename and trying to put in an array. I am not able to figure what's the problem.It keeps on throwing an error of array being not…
Hi! This feels like a really dumb question, sorry in advance, but i've not been able to figure it out. I'm a python user and mel noob trying to write a custom fbx export script in Maya. I need to access some of the FBX export properties that aren't available through the standard mel fbx export commands. The official docs…
Hi, Does anyone know how to query Maya if normals are locked? The manual way to do it is go to display/polygons/vert normals and it will display yellow lines if the normals are locked. But is there a way to do this trough scripting? Preferably with Pymel or OpenMaya.
I am trying to bake hair planes from a nHair mesh. The problem is there is no variation in the strands and so all the strands look the same. I am trying to create variation by giving each shell a separate material (Any better ideas would be amazing!). Now I need to know 1. How to query the poly shell of an object 2. How to…