Rigging

Rigging101 » Rigging128

help on mel (3 posts)

About This Topic

Tags

No tags yet.

  1. madhu

    offline
    Member
    Posted 6 years ago
    #

    hiiii
    string $nameSpace =

    x
    ;

    setAttr ($nameSpace + "neck_ctr.translateX") 0;

    i hv declared the variable $nameSpace bt then also maya is giving the error of undeclared variable
    $nameSpace
    plzz help
    if smebdy wants d full code do cntct me on
    madhu51190@gmail.com
    http://www.facebook.com/profile.php?id=100000052784537
    plzz do reply
    its a vry weird prblm

  2. Dimitri Frazao

    offline
    Member
    Posted 6 years ago
    #

    is your string on quotes?
    string $nameSpace = "x";

    I think that Maya has a command named namespace....
    perhaps that's why it won't let you use that name for your variable.

    Can you call your string another name or does it have to be $nameSpace?

    Good luck!

  3. madhu

    offline
    Member
    Posted 6 years ago
    #

    its in backtick
    string $nameSpace =

    r

    ;
    and i cnt change d variable name
    basically i made d same script before also with the same named variable(namespace)
    it workd then bt nw i hv made sm changes its ging tht error
    do u wnt me to post d whole code??
    plz gv me ur email id

Reply

You must log in to post.

Rigging101 » Rigging128
1,099 posts in 307 topics over 110 months by 188 of 8,226 members. Latest: fashionpvp, d2q4p5z2j, gasheldonl