ウインドウを作るときにすでにある場合はウインドウを閉じてから
立ち上げる方法
if cmds.window('[Window名]',ex=True): cmds.deleteUI('[Window名]') cmds.window('[Window名]' , title='[Windowタイトル]')
趣味でCGをしたり、自転車でぶらぶらしたことをのんびりと書いていこうと思います。
ウインドウを作るときにすでにある場合はウインドウを閉じてから
立ち上げる方法
if cmds.window('[Window名]',ex=True): cmds.deleteUI('[Window名]') cmds.window('[Window名]' , title='[Windowタイトル]')
ラベル: python-Maya-
Copyright 2006 | Blogger Templates by GeckoandFly modified and converted to Blogger Beta by Blogcrowds.
No part of the content or the blog may be reproduced without prior
written permission.
0 コメント:
コメントを投稿