×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Solidworks Process not Ending

Solidworks Process not Ending

Solidworks Process not Ending

(OP)
I've been having trouble with Solidworking quitting on me unexpectedly the last few months.  I think I tracked down the problem to multiple Solidworks processes running in the Task Manager.  

Recently, we've been working on an API to drive our models.  If there is an error, the Solidworks process won't end completely.  So when we run the API again and start up Solidworks, it crashes because two Solidworks processes are running.

Can anyone spread some light on this issue?

RE: Solidworks Process not Ending

I cant shed light on why SW is not closing properly, but you should be able to adjust your API such that it checks for any running SW processes and, if found, kills them before before it starts its main routine.

cheers
Helpful SW websites FAQ559-520
How to find answers ... FAQ559-1091

RE: Solidworks Process not Ending

What sort of API?  Is it SolidWorks macros, add-in, EXE, VBA in Access/Excel/Word/PowerPoint?  Are you doing anything with the UserControl or UserControlBackground properties of the solidworks application object?  How are you connecting to the SolidWorks application object?

RE: Solidworks Process not Ending

(OP)
The API is through our custom software in Visual Studio.  It does check if any other processes are running.  

I'll have to dig into the code to give you more answers as to how we are connecting to the application.  However, has anyone experienced SW closing spontaneously when interacting with Solidworks on a user/manual basis?  This is what I'm really trying to tackle right now.

Also, sometimes it takes a REALLY long time for Solidworks to open.  I never experienced this until I ran an API on my system.  However, it does this when I'm launching Solidworks manually as well.

RE: Solidworks Process not Ending

I have found that in some cases if SolidWorks abnormaly ends that the program is still running in the background. I have to use the task manager to end the process otherwise things get real slow.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources