Using the ART rigging tools, can't "edit" rigs, window won't scroll

I’m trying to edit a rig I’ve already created, but I can’t “choose” the rig, because the button is placed farther down than the window’s height, and the window is in a locked size and orientation. I apologize if this is a dumb question, but I’m seriously banging my head against the wall with this one. I’m using maya 2016, geforce gtx 970, cintiq 21ux for my monitor.

you should be able to resize the window. If not, then somehow the sizeable flag in the customMayaMenu file got set to False instead of True.

(Just checked, that’s what happened).

Open the customMayaMenu python file in a text editor (file is in MayaTools/General/Scripts), search for this line:

window = cmds.window(“artEditCharacterUI”, w = 300, h = 400, title = “Edit Character”, mxb = False, mnb = False, sizeable = False)

and change sizeable to True. I’ll update the code in the release package as well, but that won’t get kicked out until the next hotfix.

Thank you! Doesn’t seem to be fixed in ART shipping with 4.11 yet.

Hi AerysBat,

I’ve entered the following bug report regarding this issue: UE-31048. When this has been resolved, we will notify you with a update to this post. In the meantime, you can adjust the customMayaMenu python as Jeremy has described above to resolve the issue.

If you have any questions on how to do this, let me know.

Thanks,

.

Looks like it is still broken in 4.12, is Epic not using these tools anymore?

We use them on Paragon, Fortnite, and UT.

Is this the problem you are seeing?

93096-problem.jpg

While there is no scroll, you can simply resize the window.

If you are unable to do this, try grabbing scripts for the dropbox location. The way these builds get packaged up, I don’t actually know which scripts they’re pulling. Sometimes, they branch these builds off of our main depot months and months ahead of release. Dropbox always has the latest and greatest.

Just checked the 4.12 scripts, and it does indeed have sizable set to False, again. I would definitely not trust the MayaTools that ship with the engine, as I feel they are pulling scripts from somewhere that is not current. I will try to find out where, but in the meantime, I would suggest using Dropbox. I maintain that location at least on a monthly basis, if not more. It always has the latest fixes and features as well.

Thanks Jeremy! I appreciate the response. I will replace the current scripts with the ones on dropbox, since I have seen a few other odd things as well (portions of the mesh flipping normals and such).

EDIT: FWIW I have been really impressed with the tools so far, fantastic work.

Thanks! I know it can be frustrating. I’m a bit frustrated as well because I don’t know where these scripts are being pulled from for these releases! I’ll try to get it sorted.

With V2, I’m really changing this whole process, and am looking to have a ‘check for updates’ feature which will always make sure you’re on latest.

Hi Jeremy, some new problems when I got the Dropbox files. Now I am getting errors when I try and create a character. The first of which is this:

Error: ImportError: file [redacted my path]/AnimationTools/MayaTools/General/Scripts\ART_skeletonBuilder_UI.py line 10: No module named Modules.facial

Any ideas? I deleted the old stuff and tried installing fresh just to be safe, but still complains. Thanks

make sure you also copy/paste over the modules folder into the scripts folder as well.
The modules folder is also in the dropbox location, but here is a direct link:

Here is my modules folder, as far as I can tell everything is there, I just downloaded the whole MayaTools folder from dropbox and extracted it. Not sure how it went wrong. I would just go back to the version that comes with the engine, but I have discovered that the selection mode in the character weighting tool throws an error in that version. I feel like I must be missing something fundamental except that it largely works fine otherwise.

What you should be able to do, to get you back on track, is go back to the version that came with 4.12, making sure your maya is pointing at that location, then in the downloaded zip, extract somewhere where it won’t overwrite, then just copy the entire scripts folder over the existing 4.12 scripts. Once you restart maya, you should be good to go.

I’ll give it a shot on my home machine as well to make sure that those steps work.

[EDIT]: I just tried this and everything seems like it functions correctly. (I didn’t have 4.12 installed at home, but that shouldn’t matter in terms of recreating the results).
I’ve recorded the steps and made a video here that will hopefully be of help:

At first, I’m copying over my userSetup file for the tools, as I didn’t have v1 installed on my home machine. Then I wipe the mayaTools.txt file so that I will get the prompt when starting maya to browse to the tools. Then I start maya, point it to my 4.7 tools. Close Maya, copy the entire scripts folder from the dropbox location over my 4.7 scripts, relaunch Maya and test the basics out.

In this example, I’m just copying over the 4.7 scripts, but usually what I would do, is pull the Maya Tools out of the 4.7 directory entirely, put them wherever you want so they don’t get stomped in an update, and then point your maya to that location, (using the dropbox scripts to overwrite the scripts in that new location.)

While the facial module now exists, it is still being worked on as we speak. In the next few weeks, it should be finalized, and I’ll update dropbox once more :slight_smile:

going to be afk for a bit adulting, but I’ll check back tonight before I go to bed.
Cheers!

OK, so following those steps, I still get the error when switching to Select mode in the weighting tool:

Error: RuntimeError: file C:/Program Files (x86)/Epic Games/4.12/Engine/Extras/Maya_AnimationRiggingTools/MayaTools/General/Scripts\ART_skeletonBuilder_UI.py line 10361: artAttrSkinPaintCtx: Object ‘ART_artAttrSkinPaint’ not found.

Looks like copying over the engine version removed the complaint about the facial module. Also, is there a way to change where a “Project” is saved? I’d like it to be where my game project is, which isn’t where the engine is installed. My previous solution was to move the MayaTools to our project location, that should be fine, right?

hmm, so when I open that file and browse to that line on my local file from dropbox, it’s just a comment block:

I tried to repro in Maya as well by trying to paint weights and try every possible button and option and couldn’t get an error either. Couple things:

Turn on stack trace in the script editor so the error report is more robust. Might help me track it down better. Repost the error with the full stack trace if you can.

Open up your local python file of skeletonBuilder(can be in Maya’s script editor), and go to that line (ctrl + l) to see what your local copy has for that line and post that as well.

As far as moving maya tools out, I definitely suggest that. I mention it in the above post as well.

Thanks for looking so hard Jeremy. Here is the stack trace, different lines for some reason, I get different errors if I select paint or select mode:
This is paint:

Error: artAttrSkinPaintCtx: Object 'ART_artAttrSkinPaint' not found. # Traceback (most recent call last): # File "C:/Program Files (x86)/Epic Games/4.12/Engine/Extras/Maya_AnimationRiggingTools/MayaTools/General/Scripts\ART_skeletonBuilder_UI.py", line 10703, in paintWeightsWhichMode # self.paintWeightsPaintMode() # File "C:/Program Files (x86)/Epic Games/4.12/Engine/Extras/Maya_AnimationRiggingTools/MayaTools/General/Scripts\ART_skeletonBuilder_UI.py", line 10666, in paintWeightsPaintMode # cmds.artAttrSkinPaintCtx('ART_artAttrSkinPaint', edit = True, spm = 1) # RuntimeError: artAttrSkinPaintCtx: Object 'ART_artAttrSkinPaint' not found. # This is select: # Error: artAttrSkinPaintCtx: Object 'ART_artAttrSkinPaint' not found. # Traceback (most recent call last): # File "C:/Program Files (x86)/Epic Games/4.12/Engine/Extras/Maya_AnimationRiggingTools/MayaTools/General/Scripts\ART_skeletonBuilder_UI.py", line 10706, in paintWeightsWhichMode # self.paintWeightsSelectMode() # File "C:/Program Files (x86)/Epic Games/4.12/Engine/Extras/Maya_AnimationRiggingTools/MayaTools/General/Scripts\ART_skeletonBuilder_UI.py", line 10685, in paintWeightsSelectMode # cmds.artAttrSkinPaintCtx('ART_artAttrSkinPaint', edit = True, spm = 0) # RuntimeError: artAttrSkinPaintCtx: Object 'ART_artAttrSkinPaint' not found. # And the local lines: 10703 - self.paintWeightsPaintMode() 10666 - cmds.artAttrSkinPaintCtx('ART_artAttrSkinPaint', edit = True, spm = 1) 10706 - self.paintWeightsSelectMode() 10685 - cmds.artAttrSkinPaintCtx('ART_artAttrSkinPaint', edit = True, spm = 0)

EDIT: Based on the code it looks like it wants a file named ART_artAttrSkinPaint? I looked through all the folders as well as on dropbox and couldn’t find that one?

I’m having a really hard time trying to reproduce this. The ART_artAttrSkinPaint is defined in the script itself, so that should be ok.
It’s possible something in the file or the workflow is causing the issue. Would you mind sending a file I can take a look at? (jeremy.ernst@epicgames.com)

Sent, thanks!