CAD[SolidWorks]
CloseConnection
Calling Sequence
Parameters
Description
Examples
CloseConnection()
CloseConnection(shutdown)
shutdown
-
(optional) boolean; true if the application should be closed on disconnect, false otherwise
The CloseConnection command releases an open instance of SolidWorks.
If the shutdown option is true, then the open instance of SolidWorks will be shutdown.
with⁡CADSolidWorks:
OpenConnection⁡:
doc≔GetActiveDocument⁡
doc≔0
CloseConnection⁡true:
See Also
Download Help Document