Message 1 of 1
Must make double call command to unlock curve length

Not applicable
07-19-2021
07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
i use MPxCommand in c++ plug-in and i have notice this case, for example:
1 - My nurbescurve have locked lenght (i have locked manualy it)
2 - I want change positions of CVs on this curve
3 - In first in MPxCommand i make unlocking curve
4 - Then i change positions
But as i see, MPxCommand change CVs position while curve have LOCKED length.
I have notice, - unlocking will be perform after MPxCommand will return handle to main Maya thread (as i deside).
So how to unlock length before changing CVs while MPxCommand executing.