System Options and Document Properties
You can get and set SolidWorks system options and document
properties (also called user preferences) using SolidWorks API enumerators
and methods.
To determine which enumerator corresponds with which system option or
document property, you can:
change a system or document setting in the user
interface while recording
a macro. Then edit the macro to identify the name and value of the
enumerator that corresponds to the setting you just changed and to also
identify the name of the method used to change (i.e., set) it. See the
System Options and Document Properties Get/Set Methods
table in this topic for a list of methods that get and set system-option
and document-property enumerators.
- or -
locate the system option or document property
in the SolidWorks user interface and click the link that corresponds to
it in the System Options and Document Properties Settings
and Enumerators table in this topic. Each link opens a topic that
contains a:
screen shot of the user-interface dialog or
menu corresponding to that system option or document property.
table containing all of the settings for that
system option or document property and the enumerator and methods that
get or set it.
Remember to reset any option or property back to its original state
after the operation completes. System-option settings persist across SolidWorks
sessions.
System Options and Document
Properties Settings and Enumerators
NOTE: Unlinked
text indicates that an enumerator does not exist for that system option,
document property, or menu item. Unlinked text is shown to help you more
easily map the text in the table with the text shown on the specified
tabs and menus in the user interface.
Back to top
System Options
and Document Properties Get/Set Methods
System Options |
Document Properties |
|
|
Back to top