Customisation and publishing of Shop documentation.
When creating shop documentation, gives error :
>>>> Error code 1770010 caught in file
"D:\workdir\reference\NX1001_4\src\camsmom\no\ind\mom_tcl_tclex.c" at line number 2024
Error code 1770010: MOM_TCL: Can not execute command.; TCL error can't read "ex_doc_table_line(0,var_list)": no such variable returned when executing command MOM_End_Part_Documentation, errorInfo = can't read "ex_doc_table_line(0,var_list)": no such variable while executing
"lindex $ex_doc_table_line($index,var_list) 0" (procedure "MOM_End_Part_Documentation" line 212) invoked from within "MOM_End_Part_Documentation"
*** EXCEPTION: Error code 1770010 in line 859 of D:\workdir\reference\NX1001_4\src\camsmom\no\ind\mom_tcl_definitions.c at Tue Jun 30 15:55:12 2015 FLE Daylight Time
+++ TCL error Error code 1770010: MOM_TCL: Can not execute command.; TCL error
can't read "ex_doc_table_line(0,var_list)": no such variable returned when executing command MOM_End_Part_Documentation, errorInfo = can't read "ex_doc_table_line(0,var_list)": no such variable
while executing "lindex $ex_doc_table_line($index,var_list) 0" (procedure "MOM_End_Part_Documentation" line 212) invoked from within "MOM_End_Part_Documentation" returned when executing command MOM_do_template_file "C:\\Siemens\\NX 10.0\\mach\\resource\\shop_doc\\excel_templates\\shopdoc_excel.tpl", errorInfo = Error code 1770010: MOM_TCL: Can not execute command.; TCL error can't read "ex_doc_table_line(0,var_list)": no such variable returned when executing command MOM_End_Part_Documentation, errorInfo = can't read "ex_doc_table_line(0,var_list)": no such variable while executing
"lindex $ex_doc_table_line($index,var_list) 0"
(procedure "MOM_End_Part_Documentation" line 212) invoked from within
Solution
Problem is due to procedure in publishing .htm file:
in Excel:
save as,
on 'Save As' form,
pick save as type 'Web Page (*.htm, *.html)'
'Publish'
Do NOT ' Save' on this form, this will result in an incorrect .htm file which will give the stated error when used in NX
'Publish as Web Page' form - 'Publish' again
This will result in the correct .htm file
Notes and References
Hardware/Software Configuration
Platform: INTL64
OS: windows
OS Version: n/a
Product: NX
Application: CAM
Version: V10.0.1
Function: SHOP_DOCS
Ref: 001-7432486