Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

How to temporarily disable TC_customization_libraries

I would like to disable TC_customization_libraries temporarily when utilities are run.

 

I know I can remove the preference and add it back after the utility is finished, but that affects all Tc sessions, which is not good at all.

 

Does anyone have any better way?

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community
6 REPLIES

Re: How to temporarily disable TC_customization_libraries

Try removing those DLL from specific clients TC_ROOT\bin. I have done that and it works.

S A Saravanakumar
CBE, INDIA

Re: How to temporarily disable TC_customization_libraries

Sure that is the other way, but this only works for 2-tier clients.

 

For 4-tier I can't do that, since the DLLs are used by other clients that should not be affected.

 

I like to have a solution that only impacts the current session, no previous or future session that might get changed/restartet while the DLLs are disabled.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community
Solution
Solution
Accepted by topic author Stefan_Pendl
‎08-26-2015 04:32 AM

Re: How to temporarily disable TC_customization_libraries

>> I would like to disable TC_customization_libraries temporarily when utilities are run.

 

Fur such use cases ( Utilities ) I use the following:

Set the environment variables


set TC_PREFERENCES_OVERLAY_FILE=Path To My XML File

set TC_PREFERENCES_OVERRIDE_FROM_FILE=TRUE

 

So the defined TC preferences from that file will be used.

I attach a sample XML file ( for TC10.1 ).

However, you can not influence a 4-Tier session in that way, but it is very useful when dealing with utilities ....

Thomas Zwatz, CADadmin, PÖTTINGER Landtechnik GmbH
NX10.0.3.5 MP03 + TC10.1.5.1 [stable], NX10.0.3.5 MP08 + TC10.1.5.1[testing]
SingleSite 2T&4T, DocMgt, MRO, ReqMgt, SchedMgt, T4S
BCT-Inspector Neutral V16.1.4, ANSYS 16.1

Re: How to temporarily disable TC_customization_libraries

Thanks, that really helps to reduce execution time, since the customization slows down the maintenance utilities immensely.

 

In addition I will use that for installing or updating MRL, which can be done without any downtime, but customization also highly slows that down.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: How to temporarily disable TC_customization_libraries

Rename your custom .so .dll 

Re: How to temporarily disable TC_customization_libraries


plmdhw wrote:

Rename your custom .so .dll 


That is not really an option, if there are users still working on the system.

The way with the two variables allows one to just disable it where needed, without affecting the entire system.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community