Depends on what exactly you want to do while SW is invisible.
I mostly use document manager.
You can hide the SW through SldWorks::Visible = False also, but i dont recommend it.
Thanks for your reply. I am actually looking for following steps through API.
1. Load Solidworks session in invisible mode.
2. Load xyz part in the above invisible session.
3. Get mass properties of the model and print them to a file.
4. Close model and session both.
Can you guide me how can get started with step 1 and 2?
by running Process.Start(SolidworksFileName) it will launch solidworks up in the background. until you call Swapp.Visible=true it will be invisible by default.
if a current running session exists, there is a way to launch it in its own session, but i cant remember how.