macroScript PolyBevelChamfer category:"custom whatewer" tooltip:"PolyBevelChamfer" ( if subObjectLevel == 1 or subObjectLevel == 2 or subObjectLevel == 3 then macros.run "Ribbon - Modeling" "EPoly_ChamferOptions" else macros.run "Ribbon - Modeling" "EPoly_BevelOptions" )
Replies
If I were to critique it I would say it's only missing some error checks. For example, if you didn't have an object select, or were at Object Level and not in Sub Object Level the script would crash.
Not that I'm the best scripter, but this is how I would write this type of operation.