Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

solidworks search path

Status
Not open for further replies.

ffrreedd

Structural
Jan 23, 2006
9
Is the initial search path in solidworks initially empty?
When I use:
retval = swApp.GetSearchFolders ( folderType)
I get retval = ""

I am worried that if I use SetSeachFolders that I may overwrite a default solidworks search path.

Any help would be appreciated
 
Replies continue below

Recommended for you

I assume you are using the correct enumeration for the folderType:
Const swDocumentType = 0

I have not used this method so I do not have a sample. Have you seen the NOTES in the API help?

Be aware that SolidWorks will ignore the Search Folder settings unless the Search Document Folder List… is toggled on. To get and set the Search Document Folder List… toggle, refer to SldWorks::GetUserPreferenceToggle and SldWorks::SetUserPreferenceToggle respectively. DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor