FAQ Database Discussion Community

How toggle by object/by layer in 3ds Max with maxscript?

I'm looking for the function to toggle an object's "By Object"/"By Layer" property in Display Properties, specifically to "By Object". I haven't been able to get any of the functions here http://help.autodesk.com/view/3DSMAX/2015/ENU/?guid=__files_GUID_78B79975_7BA5_4A03_8FEF_27E78D14B575_htm to do what I want. Thanks in advance!...

Dynamically change flags in 3ds Max with Maxscript

My main problem is that I don't know how to dynamically create a flag variable in 3ds Max with maxscript. I would have hoped you could have just put a pound sign in front of a concatenated sting but that didn't work. I'm writing a script that will dynamically create...

Pass by value / reference performance comparison in Maxscript?

How does it affect efficiency in Maxscript?. Maxscript is a slow one, but i wonder how much does it affect? I tried this script, it took a lot of time to execute the operations in the array, but later on the call to functions were fast returning 0 to the...