This topic contains two tables. The information in the table:
Setting
Get/Set Methods
Return Value or <Value> or <OnFlag>
Comment
Show SOLIDWORKS search box
ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swSearchShowSOLIDWORKSSearchBox)
ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swSearchShowSOLIDWORKSSearchBox, <OnFlag>)
Boolean value
Specifies whether to show the SOLIDWORKS search box
File and Model Search - Search while typing (incremental search)
(Not supported in SOLIDWORKS Connected)
ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swSearchWhileTyping)
ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swSearchWhileTyping, <OnFlag>)
Specifies whether to start the search while typing the search string
File and Model Search - Include 3D ContentCentral results
ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swSearchIncludeContentCentral)
ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swSearchIncludeContentCentral, <OnFlag>)
File and Model Search - Results per page
ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSearchResultsPerPage)
ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSearchResultsPerPage, <Value>)
Integer value
Specifies number of search results to show per page
File and Model Search - Maximum results per data source (independent of 3D ContentCentral)
ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSearchMaxResultsPerDataSource)
ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSearchMaxResultsPerDataSource, <Value>)
Specifies maximum number of results per data source (independent of 3D Content Central)
File and Model Search - Indexing Performance
ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSearchIndexingPerformance)
ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSearchIndexingPerformance, swSearchIndexingPerformance_e.<Value>)
See swSearchIndexingPerformance_e for valid options
Specifies when to perform search indexing
Obsolete Enumerators
Enumerator
swSearchDissectionScheduleDaily
Obsolete
swSearchDissectionDailyStartTime
swSearchDissectionDailyStopTime
swSearchDissectionLocation
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
Thank you for your comments. We will contact you if we have questions regarding your feedback.
Sincerely,The SOLIDWORKS Documentation Team
Print Topic
Select the scope of content to print:
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.
Web Help Content Version: API Help (English only) 2021 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.