This version of the CAD objects Documentation is specific to SolidWorks Automation.
The Products "CAD_System" property determines which CAD object is used in script code.
(different CAD methods and sub objects are available depending on the platform)


The CAD object is available in script code to expose methods to manipulate the CAD object model easily. It is referenced directly by name and exposes generic methods for common transactions directly as well as exposing multiple Child Objects to manipulate specific areas of the CAD system (assembly, part, window, etc...)

Remarks

This is the top level object, it is always present in script code and doesn't need to be created or assigned directly.

It is always used to execute a contained method or access a child object inside the CAD container (top level) object

Examples

See the specific sub topics for functional code examples with this top level object

The below is the exposed object name in script which is always followed by something else that is valid

CAD.Refresh() ' Refresh the CAD Current Display Window

etc...

CAD.something ' not a functional example line.