Last active
December 11, 2016 03:34
-
-
Save JohnOnSoftware/0e33209ab4d0887d0253d40df7329407 to your computer and use it in GitHub Desktop.
Forge Viewer InViewerSearch Extension Raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config3d = { | |
extensions: ["Autodesk.InViewerSearch"], | |
inViewerSearchConfig: { | |
uiEnabled: true, | |
clientId: "adsk.forge.default", | |
sessionId: "Session-ID-example-F969EB70-242F-11E6-BDF4-0800200C9A66", | |
loadedModelTab: { | |
enabled: true, //if false we hide the tab | |
displayName: 'This View', | |
pageSize: 50 | |
}, | |
relatedItemsTab:{ | |
enabled: true, //if false we hide the tab | |
displayName: 'This Item', | |
pageSize: 20 | |
} | |
} | |
} | |
viewerApp.registerViewer( | |
viewerApp.k3D, | |
Autodesk.Viewing.Private.GuiViewer3D, | |
config3d) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment