Message 1 of 2
polyNormalizeUV not working on multiple selected objecsts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
If I select multiple meshes, or select UVs belonging to different meshes, and I go to Modify > Normalize in the UV editor, then it works just fine. But if I do the same selection and run this command
pm.polyNormalizeUV(selection, nt=1, pa=False)
Then it throws this error # Error: RuntimeError: file C:\Program Files\Autodesk\Maya2017\Python\lib\site-packages\pymel\internal\pmcmds.py line 134: Doesn't work with multiple objects selected. #
I even tried replicating exactly what the command and flags displayed when it echoed it the script editor but still didnt work. Why does it work in the menus but not in code?
thanks