NX Output text string which includes a dollar sign ($) in Post Builder

2021-10-06T23:26:11Z
NX for Manufacturing

Summary


Details

The customer wants to output a text string which includes a dollar sign ($), for example:

;$PATH=/_N_MPF_DIR 

When creating an Operator Message with this text there is an error when post processing. How can this be output?

Solution

Normally the TCL interpreter looks for a variable after the dollar sign. To be able to output it as a character we need to put a backslash (\) in front of the dollar sign. So in Post Builder one can either:

Create a Text Element with this entry:

;\$PATH=/_N_MPF_DIR

or

Create a Custom Command with this entry:

MOM_output_literal ";\$PATH=/_N_MPF_DIR"

Notes

KB Article ID# PL8003055

Contents

SummaryDetails

Associated Components

Manufacturing Post Builder