Hi All,
is it possible to use the SolidWorks-API in a Windows-Service (written in C# / .NET)?
I want to write an Service who converts SWX-Parts to another 3D-Format.
What happens, when several simultaneous requests are comming?!
Thanks for help!
Flo
Hi All,
is it possible to use the SolidWorks-API in a Windows-Service (written in C# / .NET)?
I want to write an Service who converts SWX-Parts to another 3D-Format.
What happens, when several simultaneous requests are comming?!
Thanks for help!
Flo
What is meant by Simultaneous Requests. Requesting SW to convert more than one file at a time? SW should handle them in sequence I believe. You might be able cause a second session of SW to convert a second part if the other is busy. I wonder if you could contact CADRegister.com they seem to be able to do this currently. I think they are using SW to do the conversions.
Corey
Ok, Thanxs!
But, cause there any problems when i use the SolidWorks-API in a Windows-Service who is wiritten in C# (.NET)??
Flo (Sorry for my bad english!!)
CS wrote:
I have done this a couple time and it works quite well. The only problem is that SW won't run in a non-interactive mode (although I have to admit I have not tried it, so I don't know what error message is thrown, if any). When I do it, I use a filesystemwatcher to look for files in my target directory. When it sees a file that meets the criteria, then SW kicks off. I am using it to test the batch processing of some files.
By non-interactive, I mean when there is no user logged into the machine. Typically, services are the solution of choice when nobody is logged into the machine. Most applications that are designed to be run by a user (SolidWorks, Excel, etc.) require somebody to be logged in.
Evan
Oh, that is bad!!
Does anyone know, how to run SolidWorks without a logged-in user??
K> By non-interactive, I mean when there is no user logged into the
Have something to add? Share your thoughts — no account required.
Ask the community — no account required