Managing cut-list bodies using SOLIDWORKS API

Edit ArticleEdit Article

Cut-list bodies got generated from the sheet metal and weldment bodies in SOLIDWORKS. Although those bodies are still managed via IBody2 SOLIDWORKS API interface they enable additional functionality compared to regular bodies:

  • Cut-list bodies are grouped in the cut-list folders by geometry
  • Cut-list folders (group of bodies) can have custom properties and auto generated properties (such as length, thickness etc.)

Custom properties could be automated by calling the IFeature::CustomPropertyManager property for the cut-list folder item.

Cut-lists are one of the most common elements of SOLIDWORKS API automation. Explore the examples of this section for macros and code snippets for accessing cut-lists data programmatically.


All articles and code at CodeStack are now open-source and hosted on GitHub. If you want to contribute by modifying existing articles and code snippets, submitting new ones, reporting errors and bugs etc. please follow this blog post for more information. We appreciate any contribution.

Product of Xarial Product of Xarial