Disable solidworks user input while running.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>1</ApplicationRevision>
|
||||
<ApplicationRevision>3</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
|
||||
@@ -70,6 +70,7 @@ namespace ExportDXF.Forms
|
||||
{
|
||||
timeStarted = DateTime.Now;
|
||||
|
||||
sldWorks.UserControl = false;
|
||||
sldWorks.ActiveModelDocChangeNotify -= SldWorks_ActiveModelDocChangeNotify;
|
||||
|
||||
Invoke(new MethodInvoker(() =>
|
||||
@@ -86,6 +87,7 @@ namespace ExportDXF.Forms
|
||||
|
||||
DetermineModelTypeAndExportToDXF(model);
|
||||
|
||||
sldWorks.UserControl = true;
|
||||
}
|
||||
|
||||
private void Worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user