NX "Bad variable name" or "can't create a scalar variable that looks like an array element"

2021-10-06T23:27:36Z
NX for Manufacturing

Summary


Details

Updating to NX12.0.2 and beyond, will not run the post any longer. An error is displayed, even though the post has run in previous versions of NX. The syslog reports that there is a bad variable name. When the variable was declared globally, the system use to allow globals to be defined as seen below...

global dpp_dmg_fd(cycle800_st_init)

The format is bad syntax and the updated logic catches the bad syntax.

Solution

The bad syntax must be corrected when declaring the global variable. Example is seen below...

Bad syntax: 
                    global dpp_dmg_fd(cycle800_st_init)
Corrected syntax: 
                    global dpp_dmg_fd

Hardware/Software Configuration

Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: CAM
Version: V12.0.2
Function: POSTBUILDER

Ref: 002-8017382

KB Article ID# PL8017382

Contents

SummaryDetails

Associated Components

Manufacturing Post Builder