SimplyMaya Forums

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

Home / forum / Animation / Mel Scripts & Programming / simple script to select objects
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 08-05-2008, 03:48 AM   #1
leotikansas
Registered User
 
Join Date: Feb 2006
Location: bet you could guess
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default simple script to select objects

I would like to write a mel script to select certain objects..

for instance i would like to select the joints in a rig I intend to skin to. (I find not all joints in my rigs need to be included in the skinning)
maybe to select objects that have a certain suffix or something like that. I tried google (I can't seem to find the right results on google) anyone know of somewhere I could do some reading on this subject?
leotikansas is offline   Reply With Quote
Old 08-05-2008, 01:27 PM   #2
happymat27
Subscriber
 
happymat27's Avatar
 
Join Date: Jul 2004
Posts: 1,257
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hi leotikansas,

I don't think that a script is really necesarry as Maya contains very good selection tools already.

One option would be to try the quick select function. At the top right of the interface is a text field, this is multi function and to the left of it there is an arrow which will open a drop down menu from which you can selet it's function, quick select is one of them. Providing you've named everything sensibly selecting objects and joints shouldn't be a problem with this tool, just type in the name and your off.

Also the Outliner window is a great tool to use when you're skinning your models, the visual heirarchy is quick and simple to follow but once again this is providing all your objects are named sensibly.

Take it easy,

Mat.
__________________
Click here to visit my site
happymat27 is offline   Reply With Quote
Old 08-05-2008, 09:05 PM   #3
leotikansas
Registered User
 
Join Date: Feb 2006
Location: bet you could guess
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default



ahh, that works perfectly...
gotta wonder what other menial tasks I am overcomplicating



thanks again for orientation of basic tasks
leotikansas is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem solving many dynamic objects in a pile? rohiniduggal Dynamics & Special Effects 3 14-01-2011 06:26 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 10:56 PM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.