I am writing code to check parts into our PDM works vault. Iget a run-time error "Document write permission was denied. (102)"but I have full admin rights to the vault. This is the first time Iam checking parts in so any information would be appreciated.
Dan Mil
CFileName = FilePath & FileName
Project = "TRASH"
Number = "1000333"
Desc = "TestFile"
Rev = "01"
LifeCycle = "R"
If Fso.FileExists(CFileName) = False Then
MsgBox ("File does not exist")
End If
'Errors on this next line. The conn object is there
Set Doc = Conn.CheckIn(CFileName, Project, Number, Desc, "", Other,Rev, LifeCycle, False, Nothing)
SolidworksApi macros
Dan Mil
CFileName = FilePath & FileName
Project = "TRASH"
Number = "1000333"
Desc = "TestFile"
Rev = "01"
LifeCycle = "R"
If Fso.FileExists(CFileName) = False Then
MsgBox ("File does not exist")
End If
'Errors on this next line. The conn object is there
Set Doc = Conn.CheckIn(CFileName, Project, Number, Desc, "", Other,Rev, LifeCycle, False, Nothing)
SolidworksApi macros