To manage user preferences (options) of the SOLIDWORKS part, assembly or drawing it is required to use one of the following SOLIDWORKS API:

For reading the options:

For writing the options:

This section contains collection of examples and macros for automating document user preferences using SOLIDWORKS API.