Scripting Level of Detail utility in 3dsmax
I find out a way to press Create New Set in Level of Detail section of 3ds max. This is quite handy of you are trying to create LODs in 3ds max where you would need too create a set for each asset. With this you could press the create set button with script.
UtilityPanel.OpenUtility Level_of_Detail
for c in windows.getChildrenHWND #max where c[5]== “Create New Set” do UIAccessor.PressButton c[1]