Preparing SOLIDWORKS for CoDesign
Parent page: Installing & Configuring Altium CoDesigner
Altium CoDesigner is an interface for transferring printed circuit board designs between the ECAD and MCAD design domains. Once the CoDesigner add-in has been added to your MCAD software, CoDesigner can pass design changes back and forth. Design changes are passed through an Altium Workspace, which acts as a bridge between the ECAD and MCAD domains.
► Check the version compatibility between your MCAD software and CoDesigner
Installing and Configuring CoDesigner in SOLIDWORKS
To interface to and from SOLIDWORKS®, you need to install the Altium CoDesigner for SOLIDWORKS Add-In.
To install the Add-In:
- Close SOLIDWORKS before installing.
- Download and install the SOLIDWORKS Add-In (AltiumCoDesignerSolidWorks_<VersionNo>.exe).
- Launch SOLIDWORKS and enable the Add-In via the Add-Ins dialog, as shown above.
- Once the Add-In has been enabled, the Altium CoDesigner Tab can be added to the Taskpane Tabs in the usual way. All collaboration activities are performed through this Tab.
Displaying the CoDesigner Taskpane Tab
In SOLIDWORKS, Taskpane Tabs can be enabled/disabled in the Customize Taskpane Tabs dialog.
If the Altium CoDesigner Taskpane Tab () does not appear in SOLIDWORKS:
-
Click the Setup cog at the top of the Taskpane, as shown above. The Customize Taskpane Tabs dialog will open.
-
In the dialog, enable the Altium CoDesigner Tab.
Connecting to your Workspace from SOLIDWORKS
SOLIDWORKS collaborates with Altium Designer through a Workspace, which you must sign in to the first time you use it.
When you are not signed in, the Altium CoDesigner Tab will include sign-in fields, as shown below. There are two sign-in modes, one for signing into an Altium 365 Workspace, the other for signing in to a Workspace on an On-Prem Enterprise Server.
Connecting to an Altium 365 Workspace
-
Select the Altium Account option in the Altium CoDesigner Taskpane Tab.
-
Enter the email address you use to sign in to Altium Live as your Email, and your Altium Live Password.
-
Enable the Remember Me option to retain the details (including the password) and automatically connect to your Altium 365 Workspace each time SOLIDWORKS is started.
-
Click the Sign In button to connect.
Connecting to an Altium Enterprise Server Workspace
-
Select the Use Custom Server option in the Altium CoDesigner Taskpane Tab.
-
The first time you sign in, you must specify the Server Address (URL) to connect to your On-Prem Enterprise Server Workspace. The address will be provided by your system administrator.
-
Enter your User Name and Password, these will also be provided by the system administrator.
-
Enable the Remember Me option to retain the details (including the password) and automatically connect to your Workspace each time SOLIDWORKS is started.
Once you have signed in, you are ready to start collaborating through Altium CoDesigner.
Configuring the SOLIDWORKS Collaboration Settings
Once you have signed in, CoDesigner settings can be configured in the Altium CoDesigner Settings dialog, opened via the Settings menu entry in the CoDesigner menu (show image).
-
Common folder for storing models that are coming from ECAD - All component models created by CoDesigner are stored in this location, regardless of the project they belong to (note that the board part and board assembly are created by CoDesigner in the project folder specified during the initial pull into Solidworks). If no location is specified, all component models will be created in the project folder and will be unavailable for reuse in other projects.
-
Build 3D geometry for Copper- Top and bottom layer copper layers are always represented as decals on the surfaces of the board part. When this option is enabled, CoDesigner will also create extruded features to represent all copper layers, as well as thruhole pads. Note that enabling this option can create a large amount of data that significantly impacts performance.
-
Build Vias- enable this option to also include the Via barrels. Note that enabling this option can create a large amount of data that significantly impacts performance.
-
Flat Folder Structure - When this option is enabled, child part and assembly files are stored in the same folder as the main assembly file. When the option is disabled, all child part and assembly files are stored in the sub-folder
\<McadAssyName>-EDM
. A flat folder structure is recommended if you use SOLIDWORKS with Windchill as the Product Data Management system. -
Smart Sketch Update - when enabled, during a Pull MCAD CoDesigner only redraws the elements of a sketch that were changed in ECAD, keeping dimensions and constraints related to non-changed elements as they were. Disable this option if it produces undesirable results. Learn more about Smart Sketch Change support.
-
Transfer board sketch holes that are bigger than <Size><Units> to ECAD as cutouts - Any hole included in the board profile sketch that can be interpreted as a pad in ECAD (including circular, square, or slotted holes), with a hole size (or slot width) equal to or less than this value, will be converted into a free pad in ECAD. Holes with a size larger than this value will be converted to a board cutout. Non-circular holes that do not correspond to a square or slot shape are always converted to a board cutout, regardless of size.
-
Ignore components smaller than
<Value><Units>
in height - Smaller components can be excluded from the synchronization process. Configure this option to exclude components less than<Value><Units>
when a Pull is performed. Note that the component height is defined in ECAD as a property of the component (footprint), it is not the height of the 3D model placed on the footprint. Learn more about configuring CoDesigner to ignore smaller components. -
Participate in the product improvement program - Enable this option to automatically share technical information about your use of MCAD CoDesigner with Altium. Learn more about the product improvement program.
Working in SOLIDWORKS
This section details SOLIDWORKS-specific settings that are important when working with Altium MCAD CoDesigner.
SOLIDWORKS Default Templates
To avoid being prompted for a component template each time a new component is created, it is recommended to configure and use default templates for parts, as shown below. These can be the supplied SOLIDWORKS templates, or your own company templates. Define the location of the templates for Parts, Assemblies, and Drawings, and select the Always use these default document templates, as shown below.
Display of the PCB Copper, Masks and Silkscreen in SOLIDWORKS
CoDesigner combines images of the top copper, top soldermask and top silkscreen into a single top-side decal, and repeats this process for the same bottom-side layers of the board. These top-side and bottom-side decals are applied when the board is pulled into MCAD.
Notes about decals:
- If the decals do not display correctly, it may be a rendering issue in SOLIDWORKS. For more information on certified video cards and the latest video driver software updates, refer to https://www.solidworks.com/support/system-requirements. Note that the page includes a link to Certified Cards and Drivers, where you may be able to download an update patch for your video card.
- If the previous step does not resolve the display of decals, try toggling the Enhanced graphics performance option in the Performance page of the SOLIDWORKS System Options dialog (show image). For some video cards, disabling this option will help, for other video cards enabling it will help.
- If the Build 3D Geometry for Copper and Solder Mask mode is enabled in the CoDesigner settings, each copper and solder mask layer is transferred as an individual layer, they are not combined into a decal. In this mode, the Silkscreen detail is applied to the Solder Mask layer as a decal. Learn more about How CoDesigner Handles Copper, Mask and Overlay Layers
Decal Storage in SOLIDWORKS
To better support designers who use SOLIDWORKS with a PDM system, CoDesigner saves the decals (image files that represent the copper, silkscreen and soldermask layers) directly into the board part file. This simplifies the management of the PCB-related files when a PDM system is used on the MCAD side.
Working with Multiple Versions of SOLIDWORKS
If your company works with multiple versions of SOLIDWORKS, then you'll be aware that SOLIDWORKS does not support opening newer files in an older version of SOLIDWORKS. If you have CoDesigner configured to use a Common folder for storing models then this can become an issue, as an engineer working with a newer version of SOLIDWORKS might overwrite shared models, making them unusable to an engineer running an older version of SOLIDWORKS.
CoDesigner stores the Common model folder path in a configuration (config) file:
-
File:
SolidworksAddin.config
-
Location:
%localappdata%\Altium\Altium CoDesigner\Config\
This file is loaded when SOLIDWORKS is launched and saved when you exit SOLIDWORKS. If you need to work with multiple versions of SOLIDWORKS and want to configure Altium MCAD CoDesigner to support a different Common model folder location for each version, you can create a unique config file for each version of SOLIDWORKS that you wish to run.
To achieve this:
- Create a copy of the config file for each version of SOLIDWORKS that you will be working with.
-
Include the SOLIDWORKS version in the filename of each copy of the config file; for example
SolidworksAddin.2023.config
. -
The unique Model path needed in each version of SOLIDWORKS can then be defined by: editing the
Value
of theSolidWorksPartsLibraryFolderPath
key in the config file (as shown below), or by running SOLIDWORKS and editing the path in the Altium CoDesigner Settings dialog.
Configuring SOLIDWORKS PDM for CoDesign
SOLIDWORKS PDM Client
A useful addition when you work with SOLIDWORKS PDM is the SOLIDWORKS PDM Client. The Client provides access to the PDM Vault (Server), allowing you to browse and explore the contents of your PDM Vault.
- The PDM client is installed via the SOLIDWORKS Installation Manager (show image).
- You will also need a Vault View, which allows the Vault contents to be displayed in the Windows File Explorer. The Vault Viewer will be available for installation once the PDM Client has been installed (show image).
PDM Settings
- Disable the Prompt to check out file if opened in read-only mode option in the SOLIDWORKS PDM settings (accessible from the Tools menu in SOLIDWORKS) as shown below. Doing this means that existing components will not need to be checked out, so there will be no inconvenience to other mechanical engineers. However, when it is necessary to change component properties, the corresponding components should be checked out.
SOLIDWORKS Product Data Management (PDM) is an on-premise data management solution supporting team management and collaboration during product development.
Recommended to Keep Under PDM Control
- The Common folder where CoDesigner stores models. Configure the folder specified in the Common folder for storing models option in the Altium CoDesigner Settings dialog to be under SOLIDWORKS PDM control and synchronize that folder with the local storage before collaborating with ECAD.
-
For MCAD CoDesigner 3.7 or older, include the
\Orig
and\Expt
sub-folders. - For MCAD CoDesigner 3.8 and newer, it is recommended to enable the Flat Folder Structure option in the Altium CoDesigner Settings dialog if Windchill is being used as the Product Data Management system.
- Assemblies and parts related to the PCB project.
Not Necessary to Keep Under PDM Control
- PNG files are used for generating the decals (pictures that represent the copper, silkscreen, and soldermask). These image files are stored in the same folder where the board part is stored.
Where to Next?
Now that CoDesigner is installed in your MCAD software and connected to your Workspace, the next step is to configure the relevant Workspace settings.
► Learn more about Configuring your Workspace Settings