Can Viewer API modify the angle of ViewCube after loading the model?

as shown in figure
clipboard.png

clipboard.png

is the angle as shown in the picture?


Yes, as long as you listen to a Autodesk.Viewing.GEOMETRY_LOADED_EVENT event and call the Viewer3D-sharpsetViewCube () function, please refer to the help documentation: https://developer.autodesk.co.

.
const onGeometriesLoaded = function() {
    viewer.removeEventListener(
        Autodesk.Viewing.GEOMETRY_LOADED_EVENT,
        onGeometriesLoaded
    );
    // Postpone this action to next frame
    setTimeout(function() {
        viewer.setViewCube( 'top/back/left' );
    }, 1000);
};

viewer.addEventListener(
    Autodesk.Viewing.GEOMETRY_LOADED_EVENT,
    onGeometriesLoaded
);
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3ecf0-44026.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3ecf0-44026.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?