Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Jan 23, 2006
Messages
9
Location
GB
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
 
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

Back
Top