Message 1 of 4
undo setUserProp not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having some problems with undoing setUserProp in max2017 (after changing pymxsExtend.py as mentioned here):
import pymxs rt = pymxs.runtime mybox = rt.box() with pymxs.undo(True, "setUserProp on box"): rt.setUserProp(mybox, "userProp", 5)
The value gets set, but no undo is registered
I'm getting the same result in maxscript:
mybox = box() undo "setUserProp on box" on ( mybox "userProp" 5 )
and just to test that undo works:
mybox = box() undo "Move box" on ( mybox.pos = [10,0,0] )
any ideas on how to get around this, or maybe someone has an estimate if it will be fixed in future versions? (@drew_avis mentioned in an earlier post that some bugs with undo should be fixed in 2018?)