Point Constraint and Orient multiple objects at once, need help.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  10 October 2012
Point Constraint and Orient multiple objects at once, need help.

Hi everyone this is my first time opening up to the world, I've been eyeing the forums and artwork for a while but have never posted...ever. Until now, I really need help with this, I'm learning mel scripting and need help in creating a script that would select multiple objects and point constraint and orient them. (kinda like an advanced replace object script)So far I'm able to create the script as a button to do it one object at a time but what if i have 200 objects to replace?
here's what I have

string $mySelection[] = `ls -sl`;

delete `pointConstraint $mySelection[0] $mySelection[1]`;
delete `orientConstraint $mySelection[0] $mySelection[1]`;
delete $mySelection[0];
  10 October 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

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
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 01:53 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.