회원 로그인
|
MEL - window
window
window [flags] windowName
: 윈도우 창을 생성한다.
Flags
-query (-q) : 쿼리모드로 입력된 명령어에 flag의 value 값으로 되돌린다.
-edit (-e) : 에디트모드로 윈도우의 value 설정값을 바꾼다.
-title (-t) "string" : 윈도우 타이틀 이름
-iconName (-in) "string" : 윈도우를 최소화 했을때의 타이틀 이름
-sizeable (-s) true/false : 윈도우 크기 조절 on/off
-titleBar (-tb) true/false : 타이틀바 on/off
-minimizeButton (-mnb) true/false : 윈도우 최소화 버튼 on/off
-maximizeButton (-mxb) true/false : 윈도우 최대화 버튼 on/off
-menuBar (-mb) true/false : 메뉴바 on/off
-toolbox (-tlb) true/false : 툴박스 on/off
-titleBarMenu (-tbm) true/false : 타이틀바메뉴 on/off
-width (-w) int : 가로 길이
-height (-h) int : 세로 길이
-widthHeight (-wh) int : 가로세로 길이
-visible (-vis) true/false : 윈도우 숨기기 on/off
-backgroundColor (-bgc) float float float : 배경색
예제1)
// 윈도우 만듦 // 윈도우 타이틀 string $window = `window -title "Long Name" // -iconName (-in) // 윈도우 아이콘 이름, 직접 정해주지 않으면 윈도우 타이틀 이름이 Default -iconName "Short Name" // -widthHeight (-wh) // 윈도우 크기 -widthHeight 200 55`; // 컬럼레이아웃 버튼등을 정렬하기 위한 레이아웃 설정 // -adjustableColumn (-adj) // 윈도우의 width 크기에 따라 버튼의 width 크기도 같이 늘어남 columnLayout -adjustableColumn true; // -label (-l), -command (-c) button -label "Do Nothing"; button -label "Close" -command ("deleteUI -window " + $window); setParent ..; showWindow $window; // 마야 윈도우 리사이즈 window -edit -widthHeight 1024 768 $gMainWindow;
댓글 0개
| 엮인글 0개
466개(21/24페이지)
번호 | 제목 | 글쓴이 | 조회 | 날짜 |
---|---|---|---|---|
마야 뷰포트 네비게이션 팁 | 푸딩뱃살 | 42490 | 2020.04.06 17:22 | |
Maya 버전 별 Python 버전 | 푸딩뱃살 | 63823 | 2014.01.08 17:59 | |
64 | [Script] 리깅에 사용되는 Utility Node - plusMinusAverage Node | artsone | 2425 | 2007.11.13 02:54 |
63 | [Script] 리깅에 사용되는 Utility Node - multiplyDivide Node | artsone | 2517 | 2007.11.13 02:54 |
62 | [Base] File / Project / Set | artsone | 2291 | 2007.10.13 12:18 |
61 | [FX] softbody 예제 | artsone | 2191 | 2007.06.12 15:34 |
60 | [Base] [스크랩] Render size 참고 | artsone | 2428 | 2007.04.30 03:42 |
59 | [Rigging] [스크랩] 인체 및 동물 3D 캐릭터의 Skeleton 셋팅 | artsone | 2685 | 2007.04.18 01:46 |
58 | [Rigging] [스크랩] Maya7 Character Animation Tool | artsone | 4049 | 2007.04.18 01:41 |
57 | [Rigging] [스크랩] Character Rigging (아티산) | artsone | 2601 | 2007.04.18 01:39 |
56 | [Rigging] Eyelash 달기 (이미지는 차후) | artsone | 1522 | 2007.04.13 14:16 |
55 | [Rigging] Character Set | artsone | 2294 | 2007.03.16 17:24 |
54 | [Script] MEL - internalVar | artsone | 3181 | 2007.03.06 21:14 |
53 | [Script] MEL - path 수정을 용이하기 위해 개선한 script | artsone | 3271 | 2007.03.06 19:47 |
52 | [Base] playblast가 중간에 끊겨 완료가 안될 시에 | artsone | 1684 | 2007.02.26 18:33 |
51 | [Base] 하위버젼으로 다운그레이드 하기 (7.0 → 6.0) | artsone | 2302 | 2007.02.21 14:44 |
50 | [Rigging] cluster를 parent 시 오브젝트 깨지는 현상 막기 [2] | artsone | 2226 | 2007.02.13 19:15 |
49 | [Rigging] weight 시 빠진 joint를 Influence 연결하여 사용하기 | artsone | 2764 | 2007.02.13 19:14 |
48 | [Script] MEL - frameLayout | artsOne | 2763 | 2007.02.02 11:47 |
47 | [Script] MEL - modelPanel | artsOne | 2766 | 2007.02.01 14:33 |
>> | [Script] MEL - window | artsOne | 2529 | 2007.02.01 14:21 |
45 | [Rigging] IK Spline Handle | artsone | 2121 | 2007.01.22 10:45 |