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)
- (
- if ::AlvaresDotnetCore == undefined then ::AlvaresDotnetCore = (dotNetClass "Autodesk.Max.GlobalInterface").Instance.coreinterface7
- on execute do
- (
- if AlvaresDotnetCore.ASnapStatus == 0 then max angle snap toggle
- AlvaresDotnetCore.SnapAngle_ = 5
- displayTempPrompt ("Snap Angle: " + (AlvaresDotnetCore.SnapAngle_ as string) + "°") 1500
- )
- on isChecked return
- (
- AlvaresDotnetCore.SnapAngle_ == 5
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment