How To Use "shave And Haircut's" Command In Python ?

51 views
Skip to first unread message

prabu

unread,
Jun 26, 2009, 7:17:00 AM6/26/09
to python_inside_maya
Hi all,

Do anybody tried using "shave and haircut" command "shaveWriteRib" in
python...
Is there any way to use it in python....

How to use custom developed MEL command (ie user defined mel command
(or) mel command associated only with certain plugin) in python...

-prabu

Dean Edmonds

unread,
Jun 26, 2009, 11:17:15 AM6/26/09
to python_in...@googlegroups.com
You access plugin commands the same as you would normal Maya commands:

    import maya.cmds as cmds
    cmds.shaveWriteRib('/home/deane/shave.rib')

--
-deane

prabu raj

unread,
Jun 29, 2009, 7:43:01 AM6/29/09
to python_in...@googlegroups.com
Thanks dean,

i got it....



Reply all
Reply to author
Forward
0 new messages