From c350299541782e72a7fdec8e9a962ec5af5fdd61 Mon Sep 17 00:00:00 2001 From: betato Date: Sat, 19 Sep 2020 17:33:19 -0400 Subject: [PATCH] Fixes #8 --- RocketcadManagerPlugin/Addin.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/RocketcadManagerPlugin/Addin.cs b/RocketcadManagerPlugin/Addin.cs index b4df440..96adc2b 100644 --- a/RocketcadManagerPlugin/Addin.cs +++ b/RocketcadManagerPlugin/Addin.cs @@ -212,11 +212,7 @@ private void SaveCadInfo(string filename) (int)swMessageBoxIcon_e.swMbInformation, (int)swMessageBoxBtn_e.swMbOk); #endif if (!FilePathGood(filename)) - { - swApp.SendMsgToUser2(string.Format("Error! Invalid file path. {0}", filename), - (int)swMessageBoxIcon_e.swMbStop, (int)swMessageBoxBtn_e.swMbOk); - return; - } + return; // File is not in a cad directory ModelDoc2 swModel = swApp.ActiveDoc; if (swModel == null) {