SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Maya Questions / Programming / Little help with python

Programming MEL Scripts, Expressions & Programming Related Topics

Join the conversation. Reply to post
 
Thread Tools
08-12-2018, 10:57 AM   #1
FrancescoRon97
Registered User
 
Join Date: Dec 2018
Posts: 1
Little help with python
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
Attached Thumbnails
Click image for larger version

Name:	Cattura.PNG
Views:	49
Size:	77.8 KB
ID:	57709  
  Reply with quote
Reply

Tags
maya , python

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install PyMel and Python scripts in Maya 2008? Nixa Maya Basics & Newbie Lounge 0 01-04-2014 08:41 AM
Question about a Maya + Python project for school class. WestSideHK Programming 2 02-12-2013 05:46 PM
Idea for a Maya + Python project for a class. WestSideHK Programming 2 20-11-2013 07:56 PM
Loading a Python script on a Mac ... mtcgs Maya Basics & Newbie Lounge 11 30-12-2011 06:19 PM
python call inside mel suzanne Programming 1 17-03-2008 10:13 PM