An alternative solution from Larry @ Autodesk, which should consider all case scenarios. fn fixedDeepCopy val mapping: = ( if mapping == unsuppli…
Anything more elegant? This is a bit of a bodge/hack I put together in a hurry for a script once upon a time. fn trueDeepCopy val = ( newVal = de…
I have functions to fix the 2 above problems, but maybe we can see if there’s better ways of doing so?
I’m always getting headaches with deep copy… these are my most annoying bug finds… struct s1 ( myValA = #(1,2,3), myValB = #(#(1,1),#(2,2)), …
Actually I got muddled… that works correctly… It’s when you have an array in a struct that doesn’t work with deepcopy.
Except this doesn’t work… myarray = #(1,2,3,#(“a”,”b”,”c”)) newArray = deepcopy myarray newArray[4][3] = “banana” print myarray[4][3] –returns “ban…
I reported this months ago and it still hasn’t been fixed
Please Vote here: Autodesk are looking into this one but please vote and reply to why you want it. It’ll help us get this implemented sooner!
Something like this should get you there… files = getFiles (@”C:\Temp\*.max”) for i = 1 to files.count do ( loadmaxFile files[i] quiet:true –su…
[i]ATSOps.Refresh[/i]()
It could be to do with the hardware hit-testing?
I’m glad it’s not only me that find this as well! Trying to digest an MCG made by Vu is much harder than even reading DenisT code!
I’m trying to think of any max action which doesn’t create an Undo record… I know there are some…
max undo clearUndoBuffer() ?