public void KinectSkeletons() { var ed = Application.DocumentManager.MdiActiveDocument.Editor; try { // Create and use our jig, disposing afterwards using (var sj = new KinectSkeletonJig()) { ed.Drag(sj); } } catch (System.Exception ex) { ed.WriteMessage( "\nUnable to start Kinect sensor: " + ex.Message ); } }
public void KinectSkeletons() { Editor ed = Application.DocumentManager.MdiActiveDocument.Editor; try { // Create and use our jig, disposing afterwards using (KinectSkeletonJig sj = new KinectSkeletonJig()) { ed.Drag(sj); } } catch (System.Exception ex) { ed.WriteMessage( "\nUnable to start Kinect sensor: " + ex.Message ); } }