How to activate Autodesk Forge Snapper?

前端 未结 1 1447
忘掉有多难
忘掉有多难 2021-01-28 02:39

I\'m trying to activate the new Snapper extension implemented since version 7.3 of the viewer.

So I load the extension like that :

viewer.loadExtension(\'A

相关标签:
1条回答
  • 2021-01-28 03:25

    getSnapResult() is a function within the Snapper class. Here is a link to the documentation:

    https://forge.autodesk.com/en/docs/viewer/v7/reference/Snapping/Snapper/

    And you can try the following:

    var snapper = new Autodesk.Viewing.Extensions.Snapping.Snapper();
    //...
    snapper.getSnapResult();
    
    0 讨论(0)
提交回复
热议问题