Adverti horiz upsell

Scene Tools 2.4.1 for Maya (maya script)

Modeless Maya File Browser and custom Open Scene Dialog with scene thumbnails and note display. Tools for dealing with playblasts, references and more...

License
Button download
5,419 Downloads

Compatibility

  • 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:01/10/2013
Last Modified:09/05/2017
File Size: 684 KB

Bugs

Did I install the scrip in wrong way??

Statusclosed
Priorityhigh
Date05/29/2013
Submitted byJeffCLin JeffCLin
I'm using Maya 2012.

When I open  file from Maya open scene  the script editor will show

// Error: Cannot find procedure "basenameEx". // 

What's wrong with it??

And I can't open CharlieWales' File Browser.

The  script editor show

// Error: Cannot find procedure "craMayaFileBrowserSetSystemFolders". //  

And when I try Open/Import/ReferencePath...  It show

 // Error: Cannot find procedure "craSceneFilePath". //

Did I install the scrip in wrong way??

Comments on this bug:

  • CharlieWales

    CharlieWales said almost 9 years ago:

    Hi Jeff. Well, I have deleted my prefs and run the script in a fresh Maya session and there are no issues as long as I can tell. I tried Maya 2012 on linux, as well as Maya 2011, Maya 2012 and Maya 2013 on windows, all x64 versions, no issues found. Try to download the script again, I don't know, maybe the file got corrupted or something. By the way, which OS are you using? Install help: - Place the script in one of your script folders, if you don't know where, the easiest is to put the script in the user script path, run: internalVar -usd to get this folder and place the script there. Start Maya, run "craSceneTools" (no quotes) from the command line or Script Editor, Scene Tools menu should appear in the Maya main menu bar and the tools should work. Let me know if you can't get it running.
  • karaslee

    karaslee said almost 9 years ago:

    Well,i've did some test in maya2013&2014! In 2013 Copy the whole script into script editor and run it. // Error: string $invalidCharacters[] = {"-", " ", "[", "]", "?, "$", "(", ")", "^", "'", "{", "}", "&", "%", "@", "#", "?", "?, "!", "b€ // // Error: Line 4298.59: Syntax error // // Error: string $invalidCharacters[] = {"-", " ", "[", "]", "?, "$", "(", ")", "^", "'", "{", "}", "&", "%", "@", "#", "?", "?, "!", "b€ // // Error: Line 4419.59: Syntax error // Then run 'craSceneTools',the file menu & channel box button is appear,but when i try to open a scene,the script editor show // Error: Cannot find procedure “basenameEx”. // And i try other funtions,some error like this CharlieWales’ File Browser. // Error: Cannot find procedure “craMayaFileBrowserSetSystemFolders”. // Open/Import/ReferencePath… It show // Error: Cannot find procedure “craSceneFilePath”. // In 2014 Got same error,but most of the funtion is work,only small part not work!! // Error: string $invalidCharacters[] = {"-", " ", "[", "]", "?, "$", "(", ")", "^", "'", "{", "}", "&", "%", "@", "#", "?", "?, "!", "b€ // // Error: Line 4298.59: Syntax error // // Error: string $invalidCharacters[] = {"-", " ", "[", "]", "?, "$", "(", ")", "^", "'", "{", "}", "&", "%", "@", "#", "?", "?, "!", "b€ // // Error: Line 4419.59: Syntax error // I love this mel,it's so useful and i cant work without it,Ver 1.X is work fine!
  • JeffCLin

    JeffCLin said almost 9 years ago:

    Thank you for replying. I'm using Windows 7 x64. Actually the script can run on my maya, but there are some function can't. Is it possible that I'm using Maya 2012 sap not Maya 2012? I will delete my prefs and try to run on default Maya session. Thanks a lot. I just delete prefs and run on fresh Maya session. It still has same problem.
  • CharlieWales

    CharlieWales said almost 9 years ago:

    How strange! try to source the script first and then run it, you shouldn't need to but: source craSceneTools; craSceneTools; If this does not work, either, try to copy the whole script into the script editor and run it. Then run 'craSceneTools' and let's see if that works. Let me know if that works, because I'm really curious now.
  • JeffCLin

    JeffCLin said almost 9 years ago:

    I think I know what's wrong with my Maya. And the Problem is very strange. When I try source craSceneTools; craSceneTools; The script editor show: // Error: string $invalidCharacters[] = {"-", " ", "[", "]", "?, "$", "(", ")", "^", "'", "{", "}", "&", "%", "@", "#", "?", "?, "!", € // // Error: Syntax error // Then I use windows wordpad to search the line ,I found there are two line but the line is complete different then script editor display. string $invalidCharacters[] = {"-", " ", "[", "]", "?, "$", "(", ")", "^", "'", "{", "}", "&", "%", "@", "#", "?", "?", "!", "?"}; How strange it is ! Then I copy the entire script from wordpad to maya and run the script, the same error come out... It's really really strange... Well, this time I use Notepad++ that I usually use to write some simple mel to open the file. The strange things happen. I saw this: https://lh3.googleusercontent.com/-hjAtUv059Yo/UabhjnN9cTI/AAAAAAAAAas/dYn_mXRkgXw/w1595-h291-no/craSceneTools.jpg I don't know what's wrong with it. Finally I retype the line and save it . It seems fine now. And run well. Anyway, thank you for the script, it's really useful for me.
  • CharlieWales

    CharlieWales said almost 9 years ago:

    Well, good to know. I really don't know why it happens, I never ever got this kind of error. Thanks for the feedback Jeff.
  • CharlieWales

    CharlieWales said almost 9 years ago:

    Hi karaslee. That's is really annoying because I don't have a clue why it is happening: The text in those two lines ( 4298, 4419) should be: string $invalidCharacters[] = {"-", " ", "[", "]", "·", "$", "(", ")", "^", "'", "{", "}", "&", "%", "@", "#", "?", "¿", "!", "¡"}; Try to rewrite the lines as Jeff did, it seems it worked for him. I really would like to give you another answer but I don't know the cause of the error because it never happenned to me, even while developing the script. Well, I hope you can make it work. Let me know and thanks for the feedback.
  • karaslee

    karaslee said almost 9 years ago:

    Hi CharlieWales. Yes I found it seems lost some " and i put it back,but still not work ,then i gave it up! A few hours later(during this time i use V1.1.0 instead),i decided to retry if that is work so i replaced the v1.1.0 with the new one and run "craSceneTools;" in script editor,it work!!! That is wierd,i did nothing since i put " back, but it is not work at that time , ┐(—__—)┌ !! Thanks JeffCLin,Notepad++ is great and i'm not sure if is Notepad++ fix this error ↖(▔▽▔)↗, because when i open the mel,it shows a little different from windows wordpad at this 2 line! Anyway,it's work now and "CharlieWales’ File Browser" just great,autodesk should be ashamed of it!! I've some comment: 1." Scene Tools - save scene as "can not replace the file with the same name,it would be great it can do that 2. thumbnails sometime is not update until i delete that file's thumbnails folder
  • CharlieWales

    CharlieWales said almost 9 years ago:

    Alright! Glad to read that. One thing I would suggest is that Wordpad is not suitable for dealing with plain text files, it is a word editor so it does not handle well showing plain text, as for example Notepad++ does or any code editor for that matter. If you open a text file with Wordpad and save it the code might be unusable. Windows Notepad is better to see plain text files if you don't have a dedicated code editor. As for the 'Save Scene As' tool, I did that to disable current scene overwriting. You can use the same name if you change the file type or file path. If you want to use the same name, file type and file path for the file, why don't you just use Maya's Save Scene (Ctrl+S)? just asking. About the thumbnails. I haven't had that issue either, so I can't say why that may happen. Thanks for the feedback.
  • mizudai

    mizudai said over 7 years ago:

    I got similar problem and now fixed. Just need to replace two lines code in maya or in notepad. Thanks for the great tool!

Post a comment: