NX Looking for proper syntax to call MFK in nxtopvdirect in a script

2023-03-30T13:45:46Z
NX for Design

Summary


Details

When running ugtopv.bat (or exe) from a script with MFK, it's not working as expected. The command complains about syntax or missing file(s). 

Release Versions
  • NX V2007
Solution

Normally, you would call an MFK from the command simialr to this >  ugtopv.exe –config=tessUG.config -noupdate -honour_structure "-pim=yes" "@DB/%#MFK#%,=item_id=assembly,object_type=Cad4NXDesign/01" 

When running from a script, it's possible to use percent signs (%). There is some correlation between percent signs used in the script and how to call the MFK in the command.

In this case, the command needed 4 percent signs.

Example >  ugtopv.exe –config=tessUG.config -noupdate -honour_structure "-pim=yes" "@DB/%%%%#MFK#%%%%,=item_id=assembly,object_type=Cad4NXDesign/01" 

Notes

KB Article ID# PL8707347

Contents

SummaryDetails

Associated Components

Teamcenter Integration for NX