Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- macroScript ASLRotateStep5Deg
- category:"Alvares Script Library"
- tooltip:"Set Step Rotate 5 deg"
- buttontext: "d5"
- Icon:#("deg5",1)
- (
- local core = (dotNetClass "Autodesk.Max.GlobalInterface").Instance.coreinterface7
- if ::AlvaresSnapDegree == undefined then ::AlvaresSnapDegree = core.SnapAngle_
- on execute do
- (
- if core.ASnapStatus == 0 then max angle snap toggle
- core.SnapAngle_ = AlvaresSnapDegree = 5
- displayTempPrompt ("Snap Angle: " + (AlvaresSnapDegree as string) + "°") 1500
- )
- on isChecked return
- (
- AlvaresSnapDegree == 5
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment