Hide menu
Enabling interactive selection in 3D view

At this moment, CAD Exchanger Web Toolkit supports two modes of selecting objects on the scene:

  • Part: entire part (e.g. a nut in a large assembly);
  • Vertex: particular vertex (either vertex from B-Rep representation or a mesh node).

Selection mode is specified for the entire scene as follows:

//active a ‘part’ selection mode
aScene.globalSelectionMode = cadex.ModelPrs_SelectionMode.Shape

Selection can be disabled by specifying cadex.ModelPrs_SelectionMode.None value.