Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export only current sheet to .pdf

Status
Not open for further replies.
Replies continue below

Recommended for you

Look for the "For Each sheet in dwgs" line; comment it out and the corresponding "Next". Add a variable named sheet that refers to the current drawing sheet. Keep the rest of the code.

Code:
'For Each sheet in dwgs
Dim sheet As Drawings.DrawingSheet = workPart.DrawingSheets.CurrentDrawingSheet
.
.
.
'Next

Also, you may be interested in the code found here:

www.nxjournaling.com
 
Status
Not open for further replies.
Back
Top