Adverti horiz upsell

Place Highlight Tool 1.2.0 for Maya (maya script)

Pymel script which mimics the Place Highlight Tool in 3ds Max

License
Button download
322 Downloads

Compatibility

  • 2012

History

Created:01/02/2013
Last Modified:01/02/2013
File Size: 4.18 KB

Keywords

higlight

Feature Request

Command

Status:pending
Date:01/04/2013
Submitted by:ekenryd ekenryd
What do I have to type in the script editor to run the script? import Tik_PlaceHighlight_v1.2 Tik_PlaceHighlight_v1.2() just gives me a syntax error. I can run the script by sourceing it from the script editor menu, but I want to put it in a custom menu. Thanks

Comments on this feature request:

  • Arda Kutlu

    Arda Kutlu said almost 12 years ago:

    Thats because of the dot in the filename. And the window command is not defined as a function also. Rename the file as Tik_Placehighlight, put it under the scripts directory then write this on a python tab import Tik_PlaceHighlight win = pm.window(height=100, width=200, title="Place Highlight") layout = pm.columnLayout() btn1 = pm.button(height=50, width=200, label='Start', command='pHighlightStart()' ) btn2 = pm.button(height=50, width=200, label='Finish', command='pHighlightFinish()' ) pm.showWindow() Hope this helps, regards
  • ekenryd

    ekenryd said almost 12 years ago:

    Thanks a lot, will try it on monday. Seems like a handy script :)

Post a comment: