speedcut tool UI not openning

speedcut tool UI not openning

mihirsbcc
Collaborator Collaborator
2,826 Views
13 Replies
Message 1 of 14

speedcut tool UI not openning

mihirsbcc
Collaborator
Collaborator
  1. Just installed BT tool for 22. Speed cut tool is not opening the UI. No error in script editor. Script editor reads

"select -r pCube1 ;
python "from bt_speedCut import *";python "bt_speedCutUI()";

 

2. I have the older PY script which works with 2020 but not with 2022. .... PY 3?

0 Likes
Accepted solutions (1)
2,827 Views
13 Replies
Replies (13)
Message 2 of 14

dcarrasquillo
Explorer
Explorer

I have the same problem. Just installed the Maya Bonus Tools 2022. Speed Cut loaded once and then disappeared. Never loaded again even after reinstalling. Can't find any solution on this.

0 Likes
Message 3 of 14

mihirsbcc
Collaborator
Collaborator
Accepted solution
The scroll bar command is missing. this is the fix

Go
C:\ProgramData\Autodesk\ApplicationPlugins\MayaBonusTools-2018-2022\Contents\python-2022

opening the bt_speedCut.py



## find this line

jwSpeedCutWin = mc.window("jwSpeedCutWin",title = "speedCut 1.58",w = 300,h
= 600, mxb = False, s = 1 ,bgc = [0.2, 0.2, 0.2 ])



## add line below

mc.scrollLayout()
0 Likes
Message 4 of 14

dcarrasquillo
Explorer
Explorer

Thank you for the reply. I did add that line but the tool still does not load. 😕

0 Likes
Message 5 of 14

mihirsbcc
Collaborator
Collaborator
It did work for me.Did you save that file?

You need to have admin power. Copy that script file to a temporary place.
Open that in notepad and add that line,

Now when you save that file make sure you are saving ..all files and in the
name field add the .py . It should read name.PY.
Now go to the place where the original file, rename it to old. Then drop
the new py file.

It should work.
0 Likes
Message 6 of 14

dcarrasquillo
Explorer
Explorer
Thank you, I will try that. 🙂
Message 7 of 14

Anonymous
Not applicable

Same situation for me. Tried the fix and it does not work. Followed the instructions and it doesn't do anything. The window will not reappear. Is there any other fix?

Message 8 of 14

dcarrasquillo
Explorer
Explorer
Still, the same with me. I re did the whole script process and nothing.
0 Likes
Message 9 of 14

mihirsbcc
Collaborator
Collaborator
I talked to the guy who wrote that script. That is the solution he provided
me. It's not an Autodesk product. He managed to put his script in the Bonus
tool.
0 Likes
Message 10 of 14

chrismeyers3d
Contributor
Contributor

For me the above solution didn't work.

 

A workaround to get the SpeedCut UI back:

 

  • Close Maya
  • Go to : "C:\Users\yourUserName\Documents\maya\2022\prefs
  • Open "windowPrefs.mel" with a text editing program.
  • Delete the line with "bt_SpeedCutWin" and save the file.
  • ReOpen Maya
  • Open SpeedCut and close a couple of the sub-tabs that you don't use as much before you try to resize the window.

From my limited experience with the tool, the UI disappears when you try to resize the window with all the tabs open. Don't do that. Or don't resize the window at all.

Message 11 of 14

Anonymous
Not applicable

You are awesome bro!!! Thanks!

0 Likes
Message 12 of 14

jvongermeten
Contributor
Contributor

Building on this, you'll notice on this line, where it says

windowPref -topLeftCorner 250 250 -widthHeight 320 770 -maximized false -parentMain true bt_SpeedCutWin;

it has two values after "-topLeftCorner." Following your directions, I noticed my first value was at 5000, and I realized that these must be screen coordinates in pixels.

 

I set them to 250 and 250, saved the file, and reset Maya. The window then began to appear at those coordinates no problem.

 

No need to delete the line. I assume this, upon resetting the program, rewrites the line to its default into the file, but I wanted to add insight as to why the problem was taking place. 

 

So thank you for your help!!

0 Likes
Message 13 of 14

nexus6.74
Community Visitor
Community Visitor
 
hi. hope someone can help me.

I have installed maya 2018. I copied the file to the maya2018 / bin / plug-ins folder. loading the file from plugin manager the program interface loads but gives me an error:

// Warning: file: C: / Program Files / Autodesk / Maya2018 / scripts / others / pluginWin.mel line 290: No initializePlugin () or initializePlugin2 () function


thank 🙂
 
0 Likes
Message 14 of 14

ad007150
Community Visitor
Community Visitor

thanks bro it works perfectly😍😍😍

0 Likes