Disconnects from the CAD Application/System manually (if already connected)

Return Value

none

Remarks

This method is completely optional, it is exposed to allow the control to disconnect specifically from the CAD system, usually for some specific reason.

If not used the system will automatically disconnect when the application is terminated.

A common use would be at the end of a CAD Action Script to forcefully free up the CAD system to allow automation from a different source (not CONTROL Pro studio)

Examples

CAD.Disconnect

    or

CAD.Disconnect()