Example #1
0
 /// <summary>
 /// Paste nodes at the center of workspace view.
 /// </summary>
 /// <param name="workspace">workspace view</param>
 private void PasteNodeAtTheCenter(WorkspaceView workspace)
 {
     var centerPoint = workspace.GetCenterPoint().AsDynamoType();
     dynamoViewModel.Model.Paste(centerPoint);
 }