cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the drawing sheet list with .net vb?

Valued Contributor
Valued Contributor
I can get the current drawing name and all the drawing number through .net VB, but anyone could help me how to find all the drawing name with .net VB?
Best Regards
Christian
2 REPLIES

Re: How can I get the drawing sheet list with .net vb?

Honored Contributor
Honored Contributor

Each part has a .DrawingSheets collection that you can iterate through.

 

For Each temp As Drawings.DrawingSheet In {part object}.DrawingSheets
    lw.WriteLine("sheet name: " & temp.Name)
Next

 

Re: How can I get the drawing sheet list with .net vb?

Valued Contributor
Valued Contributor
Hi cowski1

It's very helpful to me, thank you very much!
Best Regards
Christian