Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   Little help with python (https://simplymaya.com/forum/showthread.php?t=45929)

FrancescoRon97 08-12-2018 10:57 AM

Little help with python
 
1 Attachment(s)
Hi, i'm new here.
I'm studying Game programming at AIV in Rome, and in our year program there's a part of Tool Programming with Maya using MEL and Python. there's some things i don't understand in Python yet.
I'm Scripting a plug-in that randomize position, rotation and scale with a UI window, but i don't get what's the problem. i'll post the code below.

it gives me a Runtime error: Lines 30, 36, 42 - Object 0 not found when i push one of the custom buttons.

someone can help me understand? thanks


All times are GMT. The time now is 09:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018