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