Details
When working with the Synchronization Manager the post processor runs in two stages:
1. When Synchronization Manager is started.
2. When the user clicks the "Post Process" button in Synchronization Manager.
Sometimes you might want to change the output of the post processor depending on these cases. The variable "mom_post_in_simulation" will always have the value "SYN", so that can't be used. Is there any way to distinguish between these cases?
Solution
The variable "mom_postprocessing_mode" can be used here. When the Synchronization Manager is started, this variable doesn't exist. But when clicking the "Post Process" button it will exist and have the value "1".
Notes and References
https://docs.plm.automation.siemens.com/tdoc/nx/1899/nx_help/#uid:xid916828
Hardware/Software Configuration
Platform: INTL64
OS: windows
OS Version: 1064
Product: NX
Application: CAM
Version: V1899
Function: SYNCHRONIZATION
Ref: 002-8017333