Installing and configuring the Manufacturing Resource Library
Install graphics builder on Linux
You can install the graphics builder on machines that use Linux.
Prerequisites
The NX version being used must be compatible with the Teamcenter version. It is recommended to use the latest maintenance update available.
Make sure Teamcenter client communication system (TCCS) is installed on the Teamcenter Server machine. For additional information, see What is TCCS?
Procedure
- Select the latest NX Batch folder variant located in Siemens Support Center Downloads.
Example NX Batch folder: NX 2506.4020 Batch
- Note The NX Batch folder and NX batch file variants may be slightly different.
Download the latest lnx64.tar.gz NX batch file to the Linux machine or server.
Example NX batch file: nxbatch_2506.4021_lnx64.tar.gz
Create the following directory: mkdir /apps/nxkit
Unzip the lnx64.tar.gz NX batch file and move the following files to the /nxkit folder:
Note nxbatch_XXXX.XXXX_lnx64.tar.gz is used as an example. Make sure to use the lnx64.tar.gz NX batch file that was downloaded.
tar -xzvf /apps/nxkit/nxbatch_XXXX.XXXX_lnx64.tar.gz -C /apps/nxkit
rm /apps/nxkit/nxbatch_XXXX.XXXX_lnx64.tar.gz
mv /apps/nxkit/nxbatch_XXXX.XXXX_lnx64 /apps/nxkit/nxbatch_lnx64
Install the sudo ./run_install file to the cd /apps/nxkit/nxbatch_lnx64 directory.
Configure graphics builder.
Note All Manufacturing Resource Library (MRL) files are located in Teamcenter kit: tcXXXX_lnx64.zip/advanced_installations/advanced_installations.zip.
Note tcXXXX_lnx64.zip is used as an example. Make sure to use the variant of the NX batch file that was downloaded.
Unzip the following files into the listed directories:
unzip tcXXXX_lnx64.zip -d /tmp/TC
unzip /tmp/TC/tcXXXX_lnx64/advanced_installations/advanced_installations.zip -d /tmp/MRL
unzip /tmp/TC/tcXXXX_lnx64/tc/bin.zip -d /tmp/BIN
mkdir ${TC_ROOT}/bin/nx_graph/TCL_Create_Graphics/ unzip /tmp/MRL/resource_management/MRL/GraphicsMacros/fcm.zip -d ${TC_ROOT}/bin/nx_graph/TCL_Create_Graphics/ cp -f /tmp/BIN/bin/nx_graph/start_nx_graphicsbuilder.template ${TC_ROOT}/bin/nx_graph/start_nx_graphicsbuilderNote You must adjust the following lines in file start_nx_graphicsbuilder to your values and the variant of the NX batch file that was downloaded:
UGII_BASE_DIR=ugii_base_dir
Example: UGII_BASE_DIR=/apps/siemens/nx
UGII_UGMGR_HTTP_URL=poolmanager_url
Example: UGII_UGMGR_HTTP_URL=http://YourTeamcenterServerName:8085/tc
TC_GB_BASE_PORT=tc_gb_base_port
Example: TC_GB_BASE_PORT=2300
TC_GB_NUMBER_OF_PORT=tc_gb_number_of_port
Example: TC_GB_NUMBER_OF_PORT=50
FMS_HOME=fms_home_dir
Example: FMS_HOME=/opt/siemens/teamcenterXXXX/tc_root/tccs
UGII_TMP_DIR=ugii_tmp_dir
Example: UGII_TMP_DIR=/opt/siemens/teamcenterXXXX/logs/nx
- Set the NXGraphicsBuilder preference to the following values:
Note You must adjust the TC_ROOT path to the actual TC_ROOT path of the Linux server. TC_ROOT=/apps/siemens/Teamcenter_XXXX/tc_root is used as an example. You must adjust the XXXX variant to the variant of the downloaded NX batch file.
ActivationMethod:
TCE_Activation
CommandLine: /apps/siemens/Teamcenter_XXXX/tc_root/bin/nx_graph/start_nx_graphicsbuilder
ScriptEvaluationPath: /apps/siemens/Teamcenter_XXXX/tc_root/bin/nx_graph/TCL_Create_Graphics
evaluateScript:
yes
- Adjust the NX/Teamcenter attribute mapping.
For more information, see the following:
Synchronize attribute values from NX to Teamcenter
NX/Teamcenter attribute mapping file
- Adjust the NX PAX file on the Linux server, including setup sheet templates.
For more information, see the following:
Enable setup sheet generation for resources
PAX file entries for setup sheets
- Copy the TCL and DEF files for CAM and CMM.
cp -fr /tmp/MRL/resource_management/MRL/nxlib/MACH/. /apps/siemens/nx/mach/ cp -fr /tmp/MRL/resource_management/MRL/install/CMM_INSPECTION/. /apps/siemens/nx/cmm_inspection/
- Adjust the values, and point to the MRL TCL and DEF files, in the following file: /apps/siemens/nx/mach/resource/configuration/cam_part_planner_mrl.dat
Note Some values point to ASCII_DIR and some to INCLASS_DIR
Example TEMPLATE_OPERATION,${UGII_CAM_TEMPLATE_SET_DIR}cam_teamcenter_general.opt TEMPLATE_DOCUMENTATION,${UGII_CAM_SHOP_DOC_DIR}shop_doc.dat TEMPLATE_POST,${UGII_CAM_POST_DIR}template_post.dat USER_DEFINED_EVENTS,${UGII_CAM_USER_DEF_EVENT_DIR}ude.cdl,${UGII_CAM_USER_DEF_EVENT_DIR}ude.tcl TEMPLATE_CLSF,${UGII_CAM_TOOL_PATH_DIR}template_clsf.dat LISTING_FORMAT,${UGII_CAM_TOOL_PATH_DIR}clsf.def,${UGII_CAM_TOOL_PATH_DIR}clsf_listing.tcl LIBRARY_TOOL,${UGII_CAM_LIBRARY_TOOL_INCLASS_DIR}dbc_mrl_tooling_library_tlas_en.def,${UGII_CAM_LIBRARY_TOOL_INCLASS_DIR}dbc_mrl_tooling_library_tlas.tcl LIBRARY_DEVICE,${UGII_CAM_LIBRARY_DEVICE_INCLASS_DIR}dbc_inclass_device_en.def,${UGII_CAM_LIBRARY_DEVICE_INCLASS_DIR}dbc_inclass_device.tcl LIBRARY_MACHINE,${UGII_CAM_LIBRARY_MACHINE_INCLASS_DIR}dbc_inclass_mach_en.def,${UGII_CAM_LIBRARY_MACHINE_INCLASS_DIR}dbc_inclass_mach.tcl LIBRARY_FIXTURE,${UGII_CAM_LIBRARY_FIXTURE_INCLASS_DIR}dbc_inclass_fixture_en.def,${UGII_CAM_LIBRARY_FIXTURE_INCLASS_DIR}dbc_inclass_fixture.tcl LIBRARY_FEEDS_SPEEDS,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\feeds_speeds.def,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\feeds_speeds.tcl LIBRARY_MACHINING_DATA,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\machining_data.def,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\machining_data.tcl LIBRARY_TOOL_MACHINING_DATA,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\tool_machining_data.def,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\tool_machining_data.tcl LIBRARY_PART_MATERIAL,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\part_materials.def,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\part_materials.tcl LIBRARY_TOOL_MATERIAL,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\tool_materials.def,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\tool_materials.tcl LIBRARY_CUT_METHOD,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\cut_methods.def,${UGII_CAM_LIBRARY_FEEDS_SPEEDS_DIR}inclass\cut_methods.tcl LIBRARY_SETUP_TEMPLATE,${UGII_CAM_LIBRARY_TEMPLATE_DIR}template_part_planner.def,${UGII_CAM_LIBRARY_TEMPLATE_DIR}template_part_planner.tcl LIBRARY_CAM_OUTPUT,${UGII_CAM_LIBRARY_TEMPLATE_DIR}cam_output.def,${UGII_CAM_LIBRARY_TEMPLATE_DIR}cam_output.tcl LIBRARY_HOLDER,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}holder_ascii.def,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}holder_ascii.tcl LIBRARY_SHANK,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}shank_ascii.def,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}shank_ascii.tcl LIBRARY_ASSEMBLY,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}assembly_ascii.def,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}assembly_ascii.tcl LIBRARY_TRACKPOINT,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}trackpoint_ascii.def,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}trackpoint_ascii.tcl LIBRARY_SEGMENTED_TOOL,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}segmented_tool_ascii.def,${UGII_CAM_LIBRARY_TOOL_ASCII_DIR}segmented_tool_ascii.tcl LIBRARY_MULTITOOL,${UGII_CAM_LIBRARY_TOOL_INCLASS_DIR}dbc_mrl_multitool.def,${UGII_CAM_LIBRARY_TOOL_INCLASS_DIR}dbc_mrl_tooling_library_tlas.tcl WIZARD,${UGII_CAM_WIZARD_DIR}wizard_cam_library.tcl MACHINING_KNOWLEDGE,${UGII_CAM_MACHINING_KNOWLEDGE_DIR}machining_knowledge_part_planner.dat
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.plm00260/xid2307107 · retrieved 2026-07-11