NX Running a Pre-Post in NX Post Builder Before Posting

NX for Manufacturing



How can a Post Builder post be setup to postprocess using a second post before posting with the main? This would be done to gather detailed information about the program which would be used in either the final posting or for reporting purposes.


1. Create a post to be used as the pre-post. In this post remove all unnecessary output blocks and TCL code so that it can execute quickly. In the sample shown below, running the main post named MainPost  will  cause the post named Check to be generated first.

2. In the main post add a Custom Command in the Start of Program with the following code.

RunPrePost.zip (13.7 MB)

3. Two output files will be created when generated. In this sample the first file will be named check.ptp and will be imported into the main post.


Please be aware that any code provided by GTAC is intended to be used for sample purposes only. It is the user's responsibility to determine whether the code is suitable for the purpose.


KB Article ID# PL8006116



Associated Components

Manufacturing Post Builder