Configuring document appearance using SOLIDWORKS API

Edit ArticleEdit Article

This section contains code examples and macros of configuring with various appearance layers (colors, decals, renders) in documents using SOLIDWORKS API.

Appearance can be applied on different SOLIDWORKS entities in hierarchy allowing to overwrite the properties from previous layer. The following is a hierarchy of layers:

  • Document
  • Component in assembly
  • Body
  • Feature
  • Face


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