Autodesk.Viewing.Extensions
SnappingExtension
Utility extension that provides access to the Snapper tool.
The extension id is: Autodesk.Snapping
Examples
viewer.loadExtension('Autodesk.Snapping')
Methods
Load the extension.
Returns
| type | description |
|---|---|
| Promise | that resolves when dependent extension finishes loading. |
unload()
Unloads the extension. It does not unload dependent extensions.
Returns
| type | description |
|---|---|
| boolean | Always returns true |
activate()
Unused method.
Returns
| type | description |
|---|---|
| boolean | Always returns true |
deactivate()
Unused method.
Returns
| type | description |
|---|---|
| boolean | Always returns false |