yskang

adsk-forge-SelectionMonitor-step10

Apr 29th, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. load() {
  2.     this.onBuildingContextMenuItem = this.onBuildingContextMenuItem.bind( this );
  3.  
  4.     //...
  5.  
  6.     this.onBuildingContextMenuItem = this.onBuildingContextMenuItem.bind( this );
  7.  
  8.     this.viewer.registerContextMenuCallback(
  9.         'Autodesk.ADN.ColorMenu',
  10.     this.onBuildingContextMenuItem
  11.     );
  12.     return true;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment