Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't create collections and render layers

0 REPLIES 0
Reply
Message 1 of 1
rahulchandrapanneru466
665 Views, 0 Replies

Can't create collections and render layers

rahulchandrapanneru466
Community Visitor
Community Visitor

Traceback (most recent call last):
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\maya\app\renderSetup\views\renderSetupWindow.py", line 946, in showContextMenu
# self._createTemplateMenu(self.contextMenu, self._getCorrespondingItem(selectedIndexes[0]))
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\maya\app\renderSetup\views\renderSetupWindow.py", line 1220, in _createTemplateMenu
# if userPrefs.getUserTemplateDirectory():
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\maya\app\renderSetup\model\renderSetupPreferences.py", line 81, in getUserTemplateDirectory
# return _getUserDirectory(kOptionVarUserTemplateDirectory, 'RSTemplates')
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\maya\app\renderSetup\model\renderSetupPreferences.py", line 63, in _getUserDirectory
# copy_tree(fromDirectory, userDir)
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\setuptools\_distutils\dir_util.py", line 181, in copy_tree
# copy_file(
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\setuptools\_distutils\file_util.py", line 161, in copy_file
# _copy_file_contents(src, dst)
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\setuptools\_distutils\file_util.py", line 35, in _copy_file_contents
# raise DistutilsFileError(
# distutils.errors.DistutilsFileError: could not delete 'C:/Users/rahul/OneDrive/Documents/maya\RSTemplates\RemoveRenderableCameras.json': Access is denied


Im not able to creat collections in render layers and i cant change render setup to legacy render layer as well.  can you please help me with this. thank you

0 Likes

Can't create collections and render layers

Traceback (most recent call last):
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\maya\app\renderSetup\views\renderSetupWindow.py", line 946, in showContextMenu
# self._createTemplateMenu(self.contextMenu, self._getCorrespondingItem(selectedIndexes[0]))
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\maya\app\renderSetup\views\renderSetupWindow.py", line 1220, in _createTemplateMenu
# if userPrefs.getUserTemplateDirectory():
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\maya\app\renderSetup\model\renderSetupPreferences.py", line 81, in getUserTemplateDirectory
# return _getUserDirectory(kOptionVarUserTemplateDirectory, 'RSTemplates')
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\maya\app\renderSetup\model\renderSetupPreferences.py", line 63, in _getUserDirectory
# copy_tree(fromDirectory, userDir)
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\setuptools\_distutils\dir_util.py", line 181, in copy_tree
# copy_file(
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\setuptools\_distutils\file_util.py", line 161, in copy_file
# _copy_file_contents(src, dst)
# File "C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\setuptools\_distutils\file_util.py", line 35, in _copy_file_contents
# raise DistutilsFileError(
# distutils.errors.DistutilsFileError: could not delete 'C:/Users/rahul/OneDrive/Documents/maya\RSTemplates\RemoveRenderableCameras.json': Access is denied


Im not able to creat collections in render layers and i cant change render setup to legacy render layer as well.  can you please help me with this. thank you

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report