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:
Maybe you didnt copy completely line 112 or you put unexpected " ' " somewhere in this line.