Hide Table of Contents

System Options > Messages/Errors/Warnings

 

Setting

Get/Set Methods

Return Value or <Value>

Comment

Show errors every rebuild

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swShowErrorsEveryRebuild)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swShowErrorsEveryRebuild, <Value>)

Boolean value

Specifies whether to display error dialogs when rebuilding models with errors


Treat missing mate references as errors

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swShowMateReferenceErrors)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swShowMateReferenceErrors, <Value>)


Boolean value

Specifies whether to show errors when mate references are missing

Warn before saving documents with update errors

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swWarnSaveUpdateErrors)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swWarnSaveUpdateErrors, <Value>)

Boolean value

Specifies whether to display a warning before saving documents with update errors

Warn starting a sketch in the context of an assembly

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swWarnStartingSketchInContextAssembly)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swWarnStartingSketchInContextAssembly, <Value>)

Boolean value

Specifies whether to display a warning before starting a sketch in the context of an assembly

Display FeatureManager tree warnings

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swFeatureManagerDisplayWarnings)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swFeatureManagerDisplayWarnings, swFeatureManagerDisplayWarnings_e.<Value>)

See swFeatureManagerDisplayWarnings_e for valid options

Specifies when to display FeatureManager design tree warnings

Display circular references in equations

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swShowEquationCircularReferencesMessage)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swShowEquationCircularReferencesMessage, swDisplayCircularReferencesInEquations_e.<Value>)

See swDisplayCircularReferencesInEquations_e for valid options

Specifies where, or if, to display circular references in equations

Display potential circular references in equations

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swShowEquationPotentialCircularReferencesMessage)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swShowEquationPotentialCircularReferencesMessage, swDisplayPotentialCircularReferencesInEquations_e.<Value>)

See swDisplayPotentialCircularReferencesInEquations_e for valid options

 

Specifies where, or if, to display potential circular references in equations


Dismiss reference/update dialog boxes when opening assemblies after

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swWhileOpeningAssembliesAutoDismissMessages)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swWhileOpeningAssembliesAutoDismissMessages, <Value>)


Boolean value

Specifies whether to automatically close messages after the specified amount of seconds (see swAssemblyOpenMessagesDismissTime) while opening assembly documents

Dismiss reference/update dialog boxes when opening assemblies after - seconds

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swAssemblyOpenMessagesDismissTime)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swAssemblyOpenMessagesDismissTime, <Value>)


Integer value

Specifies the number of seconds which to display messages before automatically closing them (swWhileOpeningAssembliesAutoDismissMessages must be true for this value to be applicable) while opening assembly documents

Dismissed messages - Checked message will be shown again

See Comment

See Comment

Not currently supported in SOLIDWORKS API

 



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   System Options > Messages/Errors/Warnings
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2018 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.