Thank you for this. What determines the default logical name of the files?
I am using Microstation through a specific DOT user and i'm not sure if the default logical names are stored anywhere. In order to run a macro I have to open the files in a nonDOT user microstation (default).
From your post i made this:
Sub SetLogNameAsDefLogName()
Dim att As Attachment
For Each att In ActiveModelReference.Attachments
If att.AttachName <> "0014132SIGN.dgn" Then
att.LogicalName = "SIGN"
att.Rewrite
End If
Next
End Sub
But it changes every reference to logical name SIGN. Is there a way to do this for every specific reference file listed below (logical names are correct in picture)?