本文整理汇总了Python中UI.window_creation方法的典型用法代码示例。如果您正苦于以下问题:Python UI.window_creation方法的具体用法?Python UI.window_creation怎么用?Python UI.window_creation使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UI
的用法示例。
在下文中一共展示了UI.window_creation方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Copyright
# 需要导入模块: import UI [as 别名]
# 或者: from UI import window_creation [as 别名]
# -----------------------------------------------------------------------------------
# Created by ken Feb 26 2016
# Modified by ken Feb 27 2016
# Copyright (c) 2016 ken. All rights reserved.
# Description:
# This is a tool to make rigging easier.
# - Align controller position and orientation with joint.
# - Rename controller to 'JOINT_NAME_ctrl'.
# How to run:
# - Copy this script to "\C:\Users\USER_NAME\Documents\Maya\MAYA_VERSION\scripts".
# - Type ""
# -----------------------------------------------------------------------------------
# import modules
# -----------------------------------------------------------------------------------
import pymel.core as pm
# -----------------------------------------------------------------------------------
# import files
# -----------------------------------------------------------------------------------
import UI as ui
# -----------------------------------------------------------------------------------
# create UI
# -----------------------------------------------------------------------------------
ui.window_creation()