JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.Editor.CurrentViewport.roll Function

Autodesk.AutoCAD.js

JavaScript
function Acad.Editor.CurrentViewport.roll(rollAngle,animate);
Parameters 
Description 
rollAngle 
type double

animate 
Boolean 

Use this function to rotate the camera’s up vector about the eye vector by a specified amount, in radians. Positive angles correspond to a clockwise rotation when viewed from the camera position to the camera target.

Remarks
This function is not supported in Paper Space.
Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!