Un-tick bind ownership to Solidworks and tick Set filesystem to read only.
the below code maybe will help you
Dim att As FileAttribute
Dim str As String
att = File.GetAttributes("C:\Users\123\Desktop\Part1.SLDPRT")
str = att.ToString()
If str Like "*ReadOnly*" Then
Thanks for the reply but that codes does not relate to Solidworks showing read only, whilst the documents on disk show read/write.
You can open from Pdmworks, not own the file, Solidworks show read only but the files will still show as read/write in windows.