Hide Table of Contents

Glossary Item Box


  • allows you to create a special type of sub-assembly that builds a path of pipes, tubes, or electrical cables between components.
  • supports route types that require square and rectangular sections, which allows you to create routing assemblies for HVAC rigid air conditioning ducts and other user-defined mechanical styles of ducting, trunking and ducting for closed top electrical routing, cable trays for rectangular section open top ducting, etc.

The SOLIDWORKS Routing Application Programming Interface (API):

  • Allows you to automate and customize SOLIDWORKS routes.

  • Is an OLE programming interface to SOLIDWORKS Routing functionality.

  • Contains functions that you can call from Visual Basic for Applications (VBA), VB.NET, C++ 6.0, C++/CLI, and C#. These functions provide direct access to SOLIDWORKS routing functionality. It is assumed that you are familiar with at least one of these programming languages and the SOLIDWORKS Routing software.

This online reference manual documents the objects available in the SOLIDWORKS Routing API, including their associated methods and properties.

NOTE: All of the sample code supplied is provided on an as-is basis and is only intended to demonstrate ways of using the SOLIDWORKS Routing API. SOLIDWORKS makes no representations or warranties regarding these samples. Any licensed user of SOLIDWORKS Routing is free to use any or all of these samples in connection with building applications related to SOLIDWORKS Routing and is granted a royalty-free, non-exclusive license for these samples or parts thereof. Intellectual property rights of the samples remain with SOLIDWORKS. Any confidentiality provisions of the SOLIDWORKS Routing license apply to the samples. Some sample code might contain obsolete APIs.

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   Welcome
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: API Help (English only) 2022 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.