DrawingVeiw File Name

DrawingVeiw File Name

herrwolf1
Enthusiast Enthusiast
359 Views
2 Replies
Message 1 of 3

DrawingVeiw File Name

herrwolf1
Enthusiast
Enthusiast
Hello,
Is there a way to get the file name with or without the path from a drawing view? My goal is to automate the creation of "Table of Contents" that shows a page number/part number correlation. I've taken a look at the "DrawingView Object Members" and there doesn't appear to be a property available to assist me but, you can right-click on a view and open the corresponding file. It seems logical that the information I'm seeking should be available. The question is, is it available via the API? Any help any one could provide would be greatly apprecieated.

Eric
0 Likes
360 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

You get the reference to the document in
the view (actually, a DocumentDescriptor object) through
the DrawingView.ReferencedDocumentDescriptor property. Have a looke at the
DocumentDescriptor object in the help files to see the methods and properties of
this object.

 

 



style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">Hello,
Is there a way to get the file name with or without the path from a drawing
view? My goal is to automate the creation of "Table of Contents" that shows a
page number/part number correlation. I've taken a look at the "DrawingView
Object Members" and there doesn't appear to be a property available to assist
me but, you can right-click on a view and open the corresponding file. It
seems logical that the information I'm seeking should be available. The
question is, is it available via the API? Any help any one could provide would
be greatly apprecieated. Eric
0 Likes
Message 3 of 3

herrwolf1
Enthusiast
Enthusiast
Neil,
I believe that will work.

Thank you,

Eric
0 Likes