Re: Exporting PDF from NX-8.5 drafting by macro or journal


I checked the code and it works in NX 8.5. Line 112 is for updating views before exporting to PDF.

You can completely ommit line 112:

theSession.Parts.Work.DraftingViews.UpdateViews(Drawings.DraftingViewCollection.ViewUpdateOption.OutOfDate, sheet)


Maybe you didnt copy completely line 112 or you put unexpected " ' " somewhere in this line.

Sina Shojaee