Documentation for Developer:
#LUp: 17.12.2019/J.Fes


---------------------------------------------------------------------------------
Preamble:
This Document descripts how a Developer can add process data into NX.syslog files
that will be parsed by JobManagerCmdTools.exe for evaluation of the process.

---------------------------------------------------------------------------------
Programing to trigger Actions via NX api can be implemented in Nx.dll via:
- register CallBack OnChange workpart
   - and or -
- register CallBack AfterModifiy workpart

---------------------------------------------------------------------------------
Insert in NX.Syslog all Messages you is needed to list in NX.sylog

Format is:
##DllActionKeyName: Your Message 1
##DllActionKeyName: Your Message 2
.........
##DllActionKeyName: Your Message 4

Final Result will be parsed by JobMnager via
##DllActionKeyName: Result: OK:ShortMsgOK
##DllActionKeyName: Result: WRN:ShortMsgOK
##DllActionKeyName: Result: ERR:ShortMsgOK


Example:
##DllActionKeyName: Result: OK:Layer convert done
##DllActionKeyName: Result: WRN:Layer OK bevor
##DllActionKeyName: Result: ERR:Layer not consistent

For additional Details please contact
- Josef Feuerstein Josef.Feuerstein@addPLM.com
or
- Sascha Güth      Sascha.Gueth@addPLM.com

[Rf:OK][RfSylog:OK][BuSGwBer:OK]
--------------------------------------------------------------------------------
Example: NX.sylog section


Loaded module c:\ugs\nx85\ugii\libnxmdgantt.dll 7fee2300000 d000 de8c0537-40303886-60b1d2b5-3670dab-1=libnxmdgantt___139225665664 version = 8.5.3.3
Assemblies positioning interaction is set to Assembly Constraints
Teamcenter Integration: Policy file NxManagerBlankWithUiValues maps to Dynamic:HDHW5984.02752.01.refuser4.00090
  Read in all for part (Item) "%UGMGR=V3.2 PH=wxFRiK$X3oAHhB PN=999990.LV PRN=A AN=999990.LV_A_Z RT="has specification" AT="UG part file" AUID=xGXV7XOiliP5mA ", cpu    0.545, real    4.976
Partition info: RM:1 (0.1, 0.1) CM:1 (0.0, 0.0) EXP:1 (0.0, 0.0) PATT:1 (0.0, 0.0) OCC:1 (0.0, 0.0)
Loaded and updated part "%UGMGR=V3.2 PH=wxFRiK$X3oAHhB PN=999990.LV PRN=A AN=999990.LV_A_Z RT="has specification" AT="UG part file" AUID=xGXV7XOiliP5mA " cpu    0.593, real    5.039
Displayed in: CPU time:   0.031 secs, Real time:  0.031 secs
***********************************************************************
##DllActionKeyName: START
Successfully loaded dynamic module C:\UGS\NX85\ugii\libjafeatures.dll
Loaded module c:\ugs\nx85\ugii\libmodlfreeform.dll 7febceb0000 12f000 1ed69ecc-484b524a-bc62a83-2a02aab2-1=libmodlfreeform___139339403164 version = 8.5.3.3
.......
Loaded module c:\ugs\nx85\ugii\libjafeatures.dll 7febd500000 101000 8d6cb89b-4fbe1fe2-411ddbbd-e7950344-1=libjafeatures___139339416064 version = 8.5.3.3
##DllActionKeyName: @DB/999990.LV/A/specification/999990.LV_A_Z
##DllActionKeyName: 0 Threads changed
##DllActionKeyName: 0 CSYS changed
##DllActionKeyName: 0 sketches changed
##DllActionKeyName: 13 dimension changed
##DllActionKeyName: 16 drafting objects changed
##DllActionKeyName: 0 surface finish changed
##DllActionKeyName: 0 hatches changed
##DllActionKeyName: 0 tabular note cells changed
OCC_part_occurrence__ask_box_in_view: Use of component bounding boxes for fit is disabled
##DllActionKeyName: 1 Drafting Views changed
##DllActionKeyName: 0 Section Lines changed
##DllActionKeyName: 26 Layer Categories Deleted
##DllActionKeyName: 50 Layer Categories Created
Successfully loaded dynamic module C:\UGS\NX85\ugii\libroutja.dll
Loaded module c:\ugs\nx85\ugii\libroutja.dll 7febcbc0000 2ea000 44bb5478-4e1906cf-a14a48a7-bf5899e6-1=libroutja___139339175864 version = 8.5.3.3
##DllActionKeyName: 0 Bodies moved
##DllActionKeyName: 0 Sketches moved
##DllActionKeyName: 0 Curves moved
##DllActionKeyName: 0 Datums moved
##DllActionKeyName: 0 Points moved
##DllActionKeyName: 29 Annotations moved
##DllActionKeyName: 0 Expressions changed
##DllActionKeyName: Result: OK
##DllActionKeyName: END
***********************************************************************
Teamcenter Integration: Navigator is disabled in non interactive session
Loaded and displayed "%UGMGR=V3.2 PH=wxFRiK$X3oAHhB PN=999990.LV PRN=A AN=999990.LV_A_Z RT="has specification" AT="UG part file" AUID=xGXV7XOiliP5mA ": CPU time:   1.248 secs, Real time:  7.597 secs
UNDO_UG_delete_mark: Mark 61 (Unspecified) not found
Teamcenter Integration: UGII_BOM_COMPARE_DIR=
Errors in checking out part tags
    TCIN SOA operation object name: 999990.LV/A (specification: 999990.LV_A_Z)
        Error: 940237, (TC 0): The dataset has a newer version in Teamcenter than in this session
Total save time: CPU time:   0.046 secs, Real time:  0.530 secs
Closing/deleting Basic %UGMGR=V3.2 PH=wxFRiK$X3oAHhB PN=999990.LV PRN=A AN=999990.LV_A_Z RT="has specification" AT="UG part file" AUID=xGXV7XOiliP5mA
