I am creating tooling assemblies within resource manager. The last step is to click the 'create/update nx tool assembly part file'. However, when clicking that button, it returns an error stating
I have already set NX Graphics Builder in TEM.
I have configuredthe TCL Macro in the advanced installation folder that comes with Teamcenter for MRL.
I have also manually ran the service start_nx_graphicsbuilder.bat.
Nothing seems to get the graphics to run, so I am asking has anyone encountered this error? Also, if I am posting this in the correct forum for suport.
Many thanks guys
Solved! Go to Solution.
Please check in Classification Admin, if the tool assembly class (where the tool is classified) has "TCL Script Evaluation" toggeled to "Yes". You can see this information in the "Hierarchy" tab and there under "Graphics Builder" tab. If it is not: please change it to "Yes". Does this help?
It seems that you are using an old MRL version. In newer versions we have updated this information in MRL.
If needed I can give you a command that updates this info for all tool assembly classes.
Hope this helps...
I went to Classification Admin and set TCL Evaluation script to yes. The value originally was 'not set'.
From there I restarted the Teamcenter services and tried building the graphics builder again but recieved the same error. Was there more I need to do from the classification admin side?
Also, I think a script to update all the classification would be very helpful.
Your screenshot is showing a tool component class.
Please check and change the tool assembly class, where the tool is classified in.
Ahh good point. Ok, so going to the assembly I notice there is no template in the template field.
Also, a new error message appeared saying:
So to conclude, I believe I need a TCL template in order for this to work properly. In the path: D:\Siemens\TC101\TC101_Root\bin\nx_graph\TCL_Creat
Could my tcl file be outdated? It was last saved in 2013. Or maybe I need an additional template, or for it to be mapped properly.
Please check the NXGraphicsBuilder preference.
Is it pointing to "D:\Siemens\TC101\TC101_Root\bin\nx_graph\TCL_Crea
It should look like this:
NXGraphicsBuilder = ActivationMethod:TCE_Activation CommandLine:D:\scripts\start_nx_graphicsbuilder.ba
t ScriptEvaluationPath:D:\Siemens\TC101\TC101_Root\b in\nx_graph\TCL_Create_Graphics evaluateScript:yes
Normally this configuration is done, when you select the "Configure Graphics Builder" option in the MRL Installer.
I checked the NXGraphicsBuilder preference and it is pointing to D:\Siemens\TC101\TC101_Root\bin\nx_graph\TCL_Creat
We have another environment in the office where this feature is working. So I logged into that environement and took the ics_graphicsbuilder.tcl file from there and pasted it into the environment I was working on. It was last changed in 2016 so it is three years more recent/updated.
After that I restarted the services and performed my previous assembly creation steps.
It looks to be working. Issue was my tcl file was significantly out of date. Resolution was to paste an updated file and restart the services.
Thanks for your help!
Good that the problem is now solved and it is working for you!
To get the latest version of the TCL file, you can also use the MRL Installer.
For example in the Tc 11.3 MRL Installer (and also in earlier versions) there is the option "Configure Graphics Builder".
This option adjusts the NXGraphicsBuilder preference and copies the TCL file.