Skip to main content
1 vote
0 answers
61 views

We have written a number of python / Qt tools, which when run standalone, look fine. Generally, the are using the platform style, and QLayouts, with very little specified in stylesheets. But we also ...
macevhicz's user avatar
1 vote
1 answer
48 views

Long story short: I can't seem to get Maya's "closeTab" flag to actually close the tab I give it. I need to run a function when a tab closes so I can't just use the default method of closing ...
Hilton Eang's user avatar
0 votes
0 answers
58 views

I am trying to convert the Maya outliner to a QWidget. It works fine and shows up on screen as expected except the cleanup of it's outliner panel. I am tracking the panel of each instance through a ...
Parikshit's user avatar
0 votes
0 answers
49 views

I have been at this for an hour, with various variations but have not had any success with it. Here is a very basic sample of one approach I tried: def foo(dragControl, x, y, modifiers, *args):    ...
Ralf_Reddings's user avatar
0 votes
1 answer
96 views

My library is saved at C:\Users\user1\Documents\maya\scripts\test_lib.py and its entire content is: def my_func(): print("hello world!") When I run the following in the script editor, I ...
Ralf_Reddings's user avatar
0 votes
1 answer
63 views

Am taking first steps into the Open Maya API, the Python version. I've gone through a Maya API series, and did some tasks such as printing to the script editor. I am now trying to write my own small ...
Ralf_Reddings's user avatar
0 votes
1 answer
127 views

I am currently creating a custom python script for maya 2023 that imports usd files that contain animation. The issue im having is my script is importing the contents of the usd without any animation ...
Thomas Burton's user avatar
0 votes
0 answers
17 views

I would like to place locators on every vertex of a curve then have the locators fallow the curve. The script works fine if the curve is not altered after creation. If the curve is rebuild, add knots ...
nottoshabi's user avatar
0 votes
0 answers
39 views

In the sequencer of Maya I want to select a shot or more and with a dialogue choose where the audio is and assign it by name(each audio and shot have the same name) using python. This code imports ...
Víctor GV's user avatar
2 votes
1 answer
30 views

I am trying to use a variable for my skipTranslate argument in my parentConstraint command in Maya. What I want is for "x" to be inserted into the skipTranslate argument by my variable &...
Jay's user avatar
  • 21
0 votes
0 answers
75 views

I've been on this issue for over a week and it's been quite frustrating. So here is the scenario: I have a few cameras in the scene and I've created a render layer setup for each camera and have used ...
Hamed Moghaddam's user avatar
-1 votes
1 answer
207 views

I've got a quick question. Is there a way to activate the two-sided lighting when working with mayapy.exe? I've been creating playblasts with it and the results have been almost satisfactory, except ...
Hamed's user avatar
  • 35
0 votes
1 answer
62 views

import * as THREE from 'three'; import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js'; const canvas = document.querySelector('#frontPageCanvas'); const scene = new THREE.Scene(); const ...
YoNoms's user avatar
  • 1
0 votes
1 answer
70 views

I have implemented Bezier Curve that complies to the mathematical rules, using de casteljau's algorithm. I have tested my implementation with other libraries, such as OpenNURBS, and our results match. ...
Constantinos Glynos's user avatar
1 vote
1 answer
247 views

I'm trying to write a Maya table that allows the user to put in inputs and a name, and then it will spawn an object with those attributes. import maya.cmds as cmds def spawn_cylinder(*args): ...
MarioFan's user avatar

15 30 50 per page
1
2 3 4 5
172