FullFileName From Drawing View

FullFileName From Drawing View

pavol_krasnansky
Enthusiast Enthusiast
438 Views
1 Reply
Message 1 of 2

FullFileName From Drawing View

pavol_krasnansky
Enthusiast
Enthusiast

Hello

How I can get FullFileName from view in drawing?

Thank you

Dim oDrawDoc As DrawingDocument
oDrawDoc = ThisDoc.Document

Dim Full_File_Name As String
Full_File_Name = oDrawDoc.Sheets(1).DrawingViews(1).FullFileName

MsgBox(Full_File_Name)
0 Likes
Accepted solutions (1)
439 Views
1 Reply
Reply (1)
Message 2 of 2

JelteDeJong
Mentor
Mentor
Accepted solution

try this rule.

Dim doc As DrawingDocument = ThisDoc.Document
Dim sheet As Sheet = doc.ActiveSheet
Dim view As DrawingView = sheet.DrawingViews(1)

MsgBox(view.ReferencedDocumentDescriptor.FullDocumentName)

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com