- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to create some custom UI elements using the MPxLocatorNode class. This is my first time using viewport 2.0. I'm following the basic setup from the pyFootPrintNode.py file. When I get to MPxDrawOverride.addUIDrawables function. I'm finding that the MUIDrawManager.lineList function does not work. My code looks something like so: drawManager.lineList(om.MPointArray, False) The MPointArray is a variable of course. In maya, the function draws the lines, but throws an exception: // Error: SystemError: file C:/Users/Chris/Documents/maya/homeEnv/plugins/FxLocator.py line 149: error return without exception set //
I don't see what I'm doing wrong. Perhaps someone with more viewport 2.0 experience can help out.
Solved! Go to Solution.