Guest User

Untitled

a guest
Jan 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. // string with markups data generated with markupsExt.generateData()
  2. var modelMarkups = '...';
  3.  
  4. // Load the markups extension
  5. viewer.loadExtension('Autodesk.Viewing.MarkupsCore').then(function(markupsExt){
  6.  
  7. markupsExt.show();
  8.  
  9. // Load markups onto "layerA"
  10. markupsExt.loadMarkups(modelMarkups, "layerA");
  11.  
  12. // Allow editing of markups in "layerA"
  13. markupsExt.enterEditMode("layerA");
  14. })
Add Comment
Please, Sign In to add comment