Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AttributeError: ProceduralWidgets.py line 21: module 'maya.cmds' has no attribute 'arnoldPlugins'

5 REPLIES 5
Reply
Message 1 of 6
Natalie_Yaroslavtseva
3745 Views, 5 Replies

AttributeError: ProceduralWidgets.py line 21: module 'maya.cmds' has no attribute 'arnoldPlugins'

Hello ! Maya ver.2022.2. I have installed Arnold for Maya on Windows 10 Pro. I open my project and go to the "Arnold" tab and press the button "Render". And an error is displayed: "# Error: AttributeError: file C:\Arnold\maya2022\scripts\mtoa\ui\procview\ProceduralWidgets.py line 21: module 'maya.cmds' has no attribute 'arnoldPlugins''".

Detailed error text:

--------------------------------------------------------------------------------------------

file -f -new;

// untitled //

commandPort -securityWarning -name commandportDefault;

onSetCurrentLayout "MASH";

// Loading Bifrost version 2.3.0.0-202107271733-fc8db84

// Bifrost: Loading library: Amino, from: Autodesk.

// Bifrost: Loading library: AminoMayaTranslation, from: Autodesk.

// Bifrost: Loading library: bif, from: Autodesk.

// Bifrost: Loading library: bifrostObjectMayaTranslations, from: Autodesk.

// Bifrost: Loading library: geometries, from: Autodesk.

// Bifrost: Loading library: fluids, from: Autodesk.

// Bifrost: Loading library: particles, from: Autodesk.

// Bifrost: Loading library: file, from: Autodesk.

// Bifrost: Loading library: mpm, from: Autodesk.

// Bifrost: Loading library: modeling, from: Autodesk.

// Bifrost: Loading library: nucleus, from: Autodesk.

// Bifrost: Loading library: simulation, from: Autodesk.

// Bifrost: Loading library: riv_types, from: Autodesk.

// Bifrost: Loading library: riv, from: Autodesk.

// Bifrost: Loading library: scatter_pack, from: Autodesk.

// Bifrost: Loading library: graphs, from: Autodesk.

updateRenderOverride;

updateRenderOverride;

// Warning: file: C:/Program Files/Autodesk/Maya2022/scripts/startup/autoLoadPlugin.mel line 40: Loading plug-in "mtoh" has resulted in changes to the scene that may need to be saved. //

// Warning: file: C:\Users\natal\OneDrive\Documents\maya\2022\prefs\filePathEditorRegistryPrefs.mel line 4: filePathEditor: Attribute 'aiImage.filename' is invalid or is not designated 'usedAsFilename'. //

// Warning: file: C:\Users\natal\OneDrive\Documents\maya\2022\prefs\filePathEditorRegistryPrefs.mel line 5: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' is invalid or is not designated 'usedAsFilename'. //

// Warning: file: C:\Users\natal\OneDrive\Documents\maya\2022\prefs\filePathEditorRegistryPrefs.mel line 6: filePathEditor: Attribute 'aiStandIn.dso' is invalid or is not designated 'usedAsFilename'. //

// Warning: file: C:\Users\natal\OneDrive\Documents\maya\2022\prefs\filePathEditorRegistryPrefs.mel line 7: filePathEditor: Attribute 'aiVolume.filename' is invalid or is not designated 'usedAsFilename'. //

// AbcExport v1.0 using Alembic 1.7.5 (built Nov 30 2020 18:40:46)

// AbcImport v1.0 using Alembic 1.7.5 (built Nov 30 2020 18:40:46)

// Warning: file: C:/Program Files/Autodesk/Maya2022/scripts/others/supportRenderers.mel line 67: The renderer "arnold" used by this scene, is not currently available. The "mayaSoftware" renderer will be used instead. To prevent this message from being displayed in the future, set the environment variable: MAYA_NO_WARNING_FOR_MISSING_DEFAULT_RENDERER=1 //

file -f -new;

// untitled //

// Warning: file: C:/Program Files/Autodesk/Maya2022/scripts/others/supportRenderers.mel line 67: The renderer "arnold" used by this scene, is not currently available. The "mayaSoftware" renderer will be used instead. To prevent this message from being displayed in the future, set the environment variable: MAYA_NO_WARNING_FOR_MISSING_DEFAULT_RENDERER=1 //

import mtoa.ui.arnoldmenu as arnoldmenu; arnoldmenu.arnoldMtoARenderView()

# Error: AttributeError: file C:\Arnold\maya2022\scripts\mtoa\ui\procview\ProceduralWidgets.py line 21: module 'maya.cmds' has no attribute 'arnoldPlugins' #

--------------------------------------------------------------------------------------------

Please help me solve the problem !

Tags (3)
Labels (3)
5 REPLIES 5
Message 2 of 6

Check the Plug-in Manager. Is mtoa loaded?



// Stephen Blair
// Arnold Renderer Support
Message 3 of 6
saliha_azaz
in reply to: Stephen.Blair

Hello, i have the same problem but i have verified in my plugings and the folder mtao is here, so i don't understand how fix this probleme. 

Can you help me please ? 

 

Have a good day

Message 4 of 6
Stephen.Blair
in reply to: saliha_azaz


@saliha_azaz wrote:

Hello, i have the same problem but i have verified in my plugings and the folder mtao is here, so i don't understand how fix this probleme. 

Can you help me please ? 

 

Have a good day


In the Plug-in Manager, you see mtoa and the Loaded check box is selected?

What's printed in the Script Editor history after you start Maya? And what is printed in the Output Window?



// Stephen Blair
// Arnold Renderer Support
Message 5 of 6
saliha_azaz
in reply to: Stephen.Blair

I don't know how i see that and i work from mac book pro so there is different display

Message 6 of 6
Stephen.Blair
in reply to: saliha_azaz

The script editor is the same on macOS, so you can get the script history, which will help.

 



// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report