|
[스크랩] Maya help에 있는 Python 참조문 번역 - Current limitations
Current limitations (주요 한계)
Current limitations (주요 한계)
* For this release of Python in Maya, fixed arguments to Maya commands (for example, the x, y and z values for maya.cmds.move()) must be passed as individual arguments and cannot be packed into a tuple.
* Maya에서 Python의 사용을 위해, 마야 명령에대한 변형된 변수(maya.cmds.move()명령어의 x,y,z값)은 반듯이 개개의 변수로서 설정되어야 되고 tuple.로 감싸지 않는다.
* Flag names or short forms of flags in Maya commands that are reserved words in Python have been removed from the Maya Python command syntax. For example:
* Maya 명령어에서 쓰이던 몇몇 flag의 이름 또는 짧은 이름이 Python문법에서는 제거되었다. 예:
* “is” is a reserved keyword in Python, and is is not a valid short form flag name. Only the long form of the flag is valid (for example, internalSet for the addAttr command).
* "is"는 Python에서 변경된 keyword이다, 그리고 "is"의 짧은 이름은 허용되지 않는다. Flag의 긴 이름만이 허요된다. (예- addAttr명려어를 위한 internalSet flag)
* “break” is a reserved keyword in Python, and is not a valid long form flag. Only the short form of the flag is valid (for example, b for the uvLink and linkLink commands).
* Break 은 Python에서 변형된 keyword이고, flag의 긴 이름은 허용되지 않는다. 오직 flag의 ㅈㅏㄼ은 이름만이 허용된다. (예- uvLink와 LinkLink명령어를 위한 b flag).
* Stacktracing (in the Script Editor, History > Show Stack Trace) only works for MEL. The stackTrace command was created for MEL to provide what Python does by default.
* Stacktracing은 오직 mel을 위해 작동한다. stackTrace 명령어는 mel을위해 만들어졌고 Python은 default에 의해 지원한다.
* Executing single Python commands echoes results to the Script editor, but executing several Python commands in the Script editor does not. This is a property of embedded Python.
* 단일 Python 명령어의 실행은 Script editor에 결과를 단시한번 출력한다., 그러나 그러나 몇몇줄의 Python명령어의 실행은 결과를 다시한번 출력하지 못한다. 이것이 Python의 특성이다.
To see the returned results, you must explicitly print them.
결과물을 돌려받기 위해서는 , 사용자는 명백히 그것들을 출력해야 한다.
끝입니다.
별것도 아닌것 가지고 질질끌어서 이제서야 끝난거 같네요.
그래도 이거 번역하면서 mayaPython에 대해 많이 알게된거 같습니다.
이제는 mel로 만드는것 보다 Python으로 만드는게 더 편하니까요 .
To be continue... hahaha
번호 | 제목 | 글쓴이 | 조회 | 날짜 |
---|---|---|---|---|
마야 뷰포트 네비게이션 팁 | 푸딩뱃살 | 42392 | 2020.04.06 17:22 | |
Maya 버전 별 Python 버전 | 푸딩뱃살 | 63699 | 2014.01.08 17:59 | |
84 | [Rendering] [스크랩] 마야 - 렌더 패스 Tutorial | artsone | 4630 | 2008.01.15 17:26 |
83 | [Rendering] [스크랩] 마야 멘탈레이 - Layer Render [ Occlusion ] | artsone | 3870 | 2008.01.15 17:14 |
>> | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Current limitations | artsone | 4300 | 2008.01.15 17:07 |
81 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Important difference | artsone | 5455 | 2008.01.15 17:07 |
80 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Python from an exter | artsone | 4852 | 2008.01.15 17:04 |
79 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Python and threading | artsone | 4692 | 2008.01.15 17:02 |
78 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Using Python | artsone | 5491 | 2008.01.15 16:56 |
77 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Python in Maya | artsone | 5110 | 2008.01.15 16:54 |
76 | [FX] Rigid Body 테스트 | artsone | 2261 | 2007.12.20 16:53 |
75 | [참고] MEL Script Site | artsone | 2686 | 2007.12.17 04:31 |
74 | [Base] 단축키 | artsone | 2062 | 2007.12.17 03:55 |
73 | [Script] Expression - Time (sin, cos, tan) test | artsone | 2708 | 2007.12.15 05:40 |
72 | [Rendering] UV Check Maps | artsOne | 1897 | 2007.12.09 23:45 |
71 | [Rendering] [스크랩] V-Ray for Maya | artsone | 2632 | 2007.12.06 02:04 |
70 | [Rigging] Squash and Stretch 뼈대 만들기 - IK Spline Handle 활용 | artsone | 2827 | 2007.11.18 23:17 |
69 | [Rigging] Squash and Stretch 뼈대 만들기 - IK Handle 활용 2 (만들기) | artsone | 2640 | 2007.11.16 01:14 |
68 | [Rigging] Squash and Stretch 뼈대 만들기 - IK Handle 활용 1 (정의) | artsOne | 2509 | 2007.11.15 13:53 |
67 | [Script] Expression - rad_to_deg | artsone | 2674 | 2007.11.14 19:40 |
66 | [Script] Expression - time | artsone | 2320 | 2007.11.14 19:36 |
65 | [Script] 리깅에 사용되는 Utility Node - Condition Node | artsone | 2235 | 2007.11.13 02:54 |