회원 로그인
정보기억 정보기억에 체크할 경우 다음접속시 아이디와 패스워드를 입력하지 않으셔도 됩니다.
그러나, 개인PC가 아닐 경우 타인이 로그인할 수 있습니다.
PC를 여러사람이 사용하는 공공장소에서는 체크하지 마세요.
소셜네트워크 서비스를 통해서 로그인하시면 별도의 로그인 절차없이 회원서비스를 이용하실 수 있습니다.


최근 게시물

1.노션에서 작성 중

1.노션에서 작성 중

개편하기 전까지 노션에서 작성 중

2024.04.04//read more

2.ChatGPT

2.ChatGPT

OpenAI로 대규모 언어 모델대화형...

2023.03.16//read more

3.노코딩 게임 엔진 - 빌..

3.노코딩 게임 엔진 - 빌..

빌드 지원안드로이드iOS윈도우즈특이사...

2023.03.14//read more

4.(완료) 미접속 회원 정..

4.(완료) 미접속 회원 정..

[완료] 36명의 회원을 정리하였습니...

2023.02.16//read more

5.매뉴얼 플러스 - 전자제..



안정적인 DNS 서비스 DNSEver
DNS Powered by DNSEver.com


shelfButton 예제

artsOne | 2009.04.09 16:05 | 조회 2620
shelfButton 예제
:


import maya.cmds as cmds
window = cmds.window( title = 'shelfButton Example')
tabs = cmds.tabLayout()
shelf = cmds.shelfLayout()

#    Create some shelf buttons...
#
#    1.  A button that prints a message to the Command Line.
#
cmds.shelfButton( annotation='Print "Hello".', image1='commandButton.xpm', command='print "Hellon"' )

#    2.  A button that will create a sphere.
#
cmds.shelfButton( annotation='Create a sphere.', image1='sphere.xpm', command='cmds.sphere()' )

#    3.  A button that will open the Attribute Editor window.
#
cmds.shelfButton(annotation='Show the Attribute Editor.', image1='menuIconWindow.xpm', command='import maya.mel; maya.mel.eval("openAEWindow")' )
cmds.tabLayout( tabs, edit=True, tabLabel=(shelf, 'Example Shelf') )

cmds.showWindow( window )

출처> Python Reference 도움말
466개(13/24페이지)
마야
번호 제목 글쓴이 조회 날짜
공지 마야 뷰포트 네비게이션 팁 푸딩뱃살 43908 2020.04.06 17:22
공지 Maya 버전 별 Python 버전 푸딩뱃살 65076 2014.01.08 17:59
224 [참고] HSUAN WEI LIANG Character TD / Rigger Reel 푸딩뱃살 3478 2013.04.14 03:12
223 [참고] 드래곤볼 셀 모델링 첨부파일 비밀글 푸딩뱃살 5 2013.04.14 03:06
222 [참고] 말 모델링 (마야) 첨부파일 푸딩뱃살 5760 2013.04.14 02:58
221 [참고] Advance Hyper Skinning System (Art & Technic) -By Subbu 푸딩뱃살 3759 2013.04.10 02:36
220 [참고] Martin Orlowski : Character tools reel 푸딩뱃살 3266 2013.04.10 02:33
219 [Plugin] Studio Library for Maya 첨부파일 푸딩뱃살 6544 2013.04.10 02:31
218 [Dev] Visual Studio 2012 Express에서 Maya Plugin 개발 첨부파일 artsOne 6771 2013.01.08 13:38
217 [Plugin] Mel Studio Pro v1.1.0 for Maya 6.5, 7 첨부파일 artsOne 4413 2008.03.10 18:35
216 [Script] Expression을 이용한 Follow Through 사진 첨부파일 artsOne 3543 2008.07.08 18:44
215 [Script] Shapes Color Changer artsOne 2799 2009.04.30 10:57
214 [Rigging] IK Handle - IK Solver 사진 첨부파일 artsOne 2897 2009.04.27 23:27
>> [Script] shelfButton 예제 사진 첨부파일 artsOne 2621 2009.04.09 16:05
212 [Script] shape color 바꾸기 artsOne 2719 2009.03.22 02:55
211 [Script] [펌] 조인트 미러 사용 후 리네임 첨부파일 artsOne 2812 2008.08.04 18:04
210 [Script] [펌] Scondery MEL analysis 사진 첨부파일 artsone 2593 2008.06.09 17:34
209 [Script] Python for Maya - 15. 자동 polygon 생성 애니 만들기 첨부파일 artsOne 2105 2008.04.14 18:25
208 [Script] [펌] 커브 다 선택하기 artsOne 2601 2008.02.03 04:13
207 [Script] [펌] 카메라 레졸루션 영역 온/오프 토글 artsOne 2235 2008.02.03 04:12
206 [Rigging] [펌] 스크닝, 얼굴, 최종 artsOne 2607 2008.02.03 03:03
205 [Rigging] [펌] max influences artsOne 2747 2008.02.03 04:09