public AddViewXbim(Markup issue, string bcfTempFolder, DrawingControl3D control) { try { InitializeComponent(); AddViewControl.Issue = issue; AddViewControl.TempFolder = bcfTempFolder; _control = control; AddViewControl.TextBlockInfo.Text = "3D/2D information of the current view will be included in the viewpoint"; GetRevitSnapshot(); } catch (Exception ex) { MessageBox.Show("Error!", "exception: " + ex); } }