API Call: Set Path for Ref Docs?
API Call: Set Path for Ref Docs?
(OP)
I'm wondering if all you API Gurus know if there is an API call that will set the path for Reference Documents?
Before you get too deep, I'm posting this on behalf of our IT Dept. They are experimenting with something, and they programmer knows VB, just not SW API. I'm completely clueless.
Before you get too deep, I'm posting this on behalf of our IT Dept. They are experimenting with something, and they programmer knows VB, just not SW API. I'm completely clueless.
Ray Reynolds
Senior Designer
Read: FAQ731-376
"Probable impossibilities are to be preferred to improbable possibilities."






RE: API Call: Set Path for Ref Docs?
Option Explicit
Const swFileLocationsDocuments = 1
Dim swApp As Object
Sub main()
Set swApp = Application.SldWorks
Call swApp.SetUserPreferenceStringValue(swFileLocationsDocuments, "C:\TEST")
End Sub
DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
RE: API Call: Set Path for Ref Docs?
Ray Reynolds
Senior Designer
Read: FAQ731-376
"Probable impossibilities are to be preferred to improbable possibilities."