Writing Scripts for NX

If you need information from NX when you are writing scripts to help automate things, NX provides a utility program. The program is ENV_PRINT. Start a command shell with the correct NX environment (Start -> Programs -> UGS NX 4 -> NX Tools -> Command Shell). Type in
ENV_PRINT -v.

C:\>ENV_PRINT -v
V22.0.1.3

C:\>

other options are ENV_PRINT -all, which will show all NX variables, and ENV_PRINT . This will return the assigned value to the variable.

C:\>ENV_PRINT -h
usage: “env_print -all” will print all variables found in the .ugii_env file
“env_print environment_variable” will print a single variable
“env_print -n” will print the NX version number
“env_print -p” will print the platform string
“env_print -v” will print the Unigraphics version string

C:\>

Pretty nice utility

NX: Summary for QUANEX CP – Yahoo! FinanceMSN Search: NX

Get detailed information on QUANEX CP (NX) including quote performance, Real-Time ECN, technical chart analysis, key stats, insider transactions, and the latest company headlines.

Original post by (author unknown) and software by Elliott Back

Next Entries »