Hide Table of Contents

Glossary Item Box

SOLIDWORKS Sustainability is a software program that evaluates the environmental impact of a product's design throughout its lifecycle. SOLIDWORKS Sustainability helps you see how decisions about material, manufacturing, and location impact the environment. Use SOLIDWORKS Sustainability to compare the environmental impact of different designs and select a design that is more sustainable for both the product and the environment.

SOLIDWORKS Sustainability processes a variety of environmental impact factors for a product design:

  • material,
  • manufacturing process and region,
  • use region,
  • transportation, and
  • end of life disposal

to calculate the impact that a product design has on the environment:

  • carbon footprint,
  • energy consumption,
  • air acidification, and
  • water eutrophication.

The SOLIDWORKS Sustainability Application Programming Interface (API) is an OLE programming interface to SOLIDWORKS Sustainability. The SOLIDWORKS Sustainability API allows you to automate the life cycle assessment of a product and provides access to the resulting environmental impact factors. The API contains interfaces, functions, subroutines, methods, and properties that you call from Visual Basic for Applications (VBA), VB.NET, C++ 6.0, C++, and C# to directly access the SOLIDWORKS Sustainability environment. It is assumed that you are familiar with at least one of these programming languages.

This online reference manual documents the interfaces, functions, subroutines, methods, and properties that are available in the SOLIDWORKS Sustainability API. The SOLIDWORKS Sustainability API examples demonstrate how to use the SOLIDWORKS Sustainability API to evaluate the environmental impact of the designs of parts and assemblies.


  • The SOLIDWORKS Sustainability API is only available with a SOLIDWORKS Sustainability license. It is not available with SOLIDWORKS SustainabilityXpress.
  • The SOLIDWORKS Sustainability API only works for part and assembly documents.
  • Some SOLIDWORKS Sustainability examples use specific documents while others do not. Examples with specific documents use documents that are also used in SOLIDWORKS online tutorials. Be sure to not modify and save these documents when you use them to run the SOLIDWORKS Sustainability examples.
  • All of the SOLIDWORKS Sustainability examples are provided on an as-is basis and are only intended to demonstrate ways of using the SOLIDWORKS Sustainability API. No representations or warranties are made regarding these samples. Any licensed user of SOLIDWORKS Sustainability is free to use any or all of these samples in connection with building applications related to SOLIDWORKS Sustainability and is granted a royalty-free non-exclusive license for these samples, or parts thereof. Intellectual property rights of the samples remain with SOLIDWORKS Corporation. Any confidentiality provisions of the SOLIDWORKS license apply to the samples

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) 2024 SP02

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.