Problem Description
When I try to synchronize the geometry between COMSOL and Solid Edge, the error message
Failed to connect to Solid Edge. Please make sure Solid Edge is running.
is displayed, and the COMSOL Multiphysics tab in Solid Edge is not available.
Solution
If you have licensed LiveLink for Solid Edge, the installer creates an add-in to Solid Edge called the LiveLink for COMSOL. This add-in should appear in the Add-In Manager dialog box that is accessible in the Solid Edge user interface if you click the Application Button, then select Add-Ins from the menu.
The connection between COMSOL and Solid Edge will fail if the add-in cannot be loaded by Solid Edge. This can happen if, for example, the COMSOL installation is moved to a different location. In the case of such a failure, you can reinstall LiveLink for Solid Edge, or repair the installation as described in knowledgebase 1221.
Manual Repair
Follow the steps below to register the add-in manually and enable the connection.
- Close Solid Edge if it is running on your computer.
- Click the Start menu symbol in the lower-left corner of your Windows desktop.
- Enter
cmd
in the Start Search field. - cmd.exe appears in the list of programs. Right-click on it and select Run as administrator.
- In the command window that appears enter the following (the complete command must be entered on one line):
C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe "C:\Program Files\COMSOL\COMSOLXX\Multiphysics\ext\LiveLink\SolidEdge\cslivelinkse.dll" /codebase
In the above C:\Program Files\COMSOL\COMSOLXX
is the local path to the COMSOL installation. Use the version number corresponding to your installation, for example C:\Program Files\COMSOL\COMSOL62
for COMSOL Multiphysics 6.2.
Open Solid Edge and check that the add-in LiveLink for COMSOL appears and is loaded in the Add-In Manager dialog box.
COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.