Message 1 of 2
Python: SetCurrentLayer broken?!?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Simple example code:
import MaxPlus
MaxPlus.LayerManager.CreateLayer("foobar")
MaxPlus.LayerManager.SetCurrentLayer("foobar")
A "foobar" layer will be created, but SetCurrentLayer() will result in a error:
-- Error occurred in anonymous codeblock; filename: test.ms; position: 250; line: 6
-- Runtime error: Line 39 run()
Line 30210 SetCurrentLayer()
<type 'exceptions.NotImplementedError'> Wrong number or type of arguments for overloaded function 'LayerManager_SetCurrentLayer'.
Possible C/C++ prototypes are:
Autodesk::Max::LayerManager::SetCurrentLayer(Autodesk::Max::WStr const &)
Autodesk::Max::LayerManager::SetCurrentLayer()
Why?
Jens
------------------------------------------------------------------------------------------------------------------
https://github.com/jedie/3dsmax_bugs | https://github.com/jedie/3dsmax_patches
------------------------------------------------------------------------------------------------------------------
https://github.com/jedie/3dsmax_bugs | https://github.com/jedie/3dsmax_patches
