setting 3Float values through variables in python

Become a member of the CGSociety

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

Thread Tools Display Modes
  09 September 2016
setting 3Float values through variables in python

Hello to every hardworking artist out there

I have a question, I am trying to input the aimVector and UpVectors of an aimconstraint created based on selection through a bunch of variables, however it is giving me errors and I can't figure out how I should go about this problem. AimVector and upVector require three float values. and the command I have tried so far is setAttr. I am open to any suggestion even if I need to use pymel I wouldn't mind.

A sample code for the problem I am facing:
import maya.cmds as mc
for tryOuts in babagaeidi:

Thanks a bunch in advance

*note: I have figured it out

Last edited by mehdift : 09 September 2016 at 03:21 AM.
reply 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 05:54 AM.

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