Request

Response

    Autodesk.Viewing
    Version 8 preview
    This page documents a preview of the Viewer SDK v8. APIs and content can still change before the final release.

    ProfileSettings

    ProfileSettings are used to set the viewer’s profile.

    To generate a profile from the supplied profile settings, please reference Profile. To set the viewer’s profile, use viewer.setProfile(profile).

    Properties

    clone
    function
    This function is used to clone an existing ProfileSetting.

    Constants

    Default

    Default profile settings. It uses the preferences described in DefaultSettings. The following preferences will be persisted: alwaysUsePivot, zoomTowardsPivot, reverseHorizontalLookDirection, reverseVerticalLookDirection, orbitPastWorldPoles, clickToSetCOI, ghosting, optimizeNavigation, ambientShadows, antialiasing, groundShadows, groundReflections, bimWalkToolPopup, swapBlackAndWhite, openPropertiesOnSelect, reverseMouseZoomDir, leftHandedMouseSetup, wheelSetsPivot

    AEC

    AEC profile settings. It inherits the settings from ProfileSettings.Default. The following preferences differ from the Default settings: { edgeRendering: true, // on desktop, false on mobile. lightPreset: ‘Boardwalk’, envMapBackground: true }

    Fluent

    Design Collaboration profile settings. Inherits the settings from ProfileSettings.AEC. The following preferences differ from the AEC settings: { reverseMouseZoomDir: true, wheelSetsPivot: true, alwaysUsePivot: true, enableCustomOrbitToolCursor: false }