Hi Rollin,
I don't know if it works in 3ds Max 8, but you can try something a little more hardcore:
function setHold =
(
if (theHold.holding() == false) do
theHold.begin()
)
function getHold sTag =
(
if (theHold.holding() == true) do
theHold.accept sTag
)
Define these two functions, they can be neatly packed into a struct, then call setHold before the block to group, and getHold after it. They MUST work in pair. As the MaxScript reference states, they are taken straight from the SDK, use at your own risk, which in other words means if the undo stops working, don't blame us, anyway I use these in IC.Shape in many instruments, and they seems to behave well, the worst thing happened is that they skip an undo record.
Replies
thx!!
I don't know if it works in 3ds Max 8, but you can try something a little more hardcore:
Define these two functions, they can be neatly packed into a struct, then call setHold before the block to group, and getHold after it. They MUST work in pair. As the MaxScript reference states, they are taken straight from the SDK, use at your own risk, which in other words means if the undo stops working, don't blame us, anyway I use these in IC.Shape in many instruments, and they seems to behave well, the worst thing happened is that they skip an undo record.
no it does not work, or lets say: the effect is similar to the undo on () in max8
but thx for the info.. I've got it to work in max 2008!
ok, seems I should slooowly start to prepare to let max 8 behind :poly122: