Maya Tutorial - How to make a Simple UI in MEL

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 6

  • @hover_trug
    @hover_trug 5 років тому

    at 3:30 when you are typing window -exists how did you get the box with flags to appear?

    • @dedeyeinc
      @dedeyeinc 3 роки тому +1

      Hey Brendan, I made a new channel for my start up company, sorry for the super late reply! It's been a helluva couple years!
      To answer your questions, in the script editor you go to Command > Show Tooltip Help
      That will prompt the flags tool tip for anything you're writing :) Hope this helped if you haven't found the answer yet!

  • @atrociousj5113
    @atrociousj5113 2 роки тому

    hey math, i am getting an error while exhecuting this code
    it is showing me an syntax error
    code - string $toolCreate = "createTool";
    string $toolName = "UI Tool";
    if ( 'window -exists $toolCreate' )
    {
    deleteUI $toolCreate;
    }
    window -t $toolName -w 300 -h 500 $toolCreate;
    showWindow $toolCreate;
    error -
    showWindow $toolCreate;
    // Error: if ( 'window -exists $toolCreate' )
    //
    // Error: Line 4.6: Syntax error //
    // Error: }
    //
    // Error: Line 7.1: Syntax error //

    • @MathiasJV
      @MathiasJV  2 роки тому +1

      Hey Atrocious J, i believe you're missing an open bracket after the if ( ) { } statement

    • @atrociousj5113
      @atrociousj5113 2 роки тому +1

      @@MathiasJV thatnks for the help can i ask you about the suggestion of learning mel for rigging scripting?

    • @MathiasJV
      @MathiasJV  2 роки тому

      @@atrociousj5113 sure thing, ask away haha