NX CAE journal will not replay correctly in advanced simulation

2021-10-06T23:27:06Z
NX Open NX System Administration

Summary


Details

--------------- 
CAE Journal replay stops if UG_APP_SFEM=advanced simulation application 
is not initialized correctly.



Solution

 the following lines can be inserted into the script (the indented ones): 
It will force the correct initialization of the application 
UG_APP_SFEM=Advanced Simulation


partLoadStatus1.Dispose() 
Dim markId2 As NXOpen.Session.UndoMarkId 
markId2 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Enter 
Gateway")


 theSession.ApplicationSwitchImmediate("UG_APP_GATEWAY") 
 theSession.ApplicationSwitchImmediate("UG_APP_SFEM")


Dim simPart1 As NXOpen.CAE.SimPart = CType(workSimPart, NXOpen.CAE.SimPart)


theSession.Post.UpdateUserGroupsFromSimPart(simPart1) 



The journaling has been enhanced in NX 11.0 so that it is no more necessary to 
force 
initialization of UG_APP_SFEM


An example of ApplicationSwitchImmediate can also be found in the nx_api 
visual basic examples here:


http://gtac.industrysoftware.automation.siemens.com/view.php?si=nx_api5321



Notes and References


Hardware/Software Configuration

Platform: all
OS: all
OS Version: ALL
Product: NX
Application: SYSENG
Version: V10.0.3
Function: NXOPEN

Ref: 002-7007728

KB Article ID# PL7007728

Contents

SummaryDetails

Associated Components

Block/UI Interface Stylers Knowledge Fusion Menuscript NX Open - All Languages NX Open Python Open for C/C++ Open for CAE Open for GRIP Open for Java Pre-NX6 UI Styler SNAP UDO