Cancel
Showing results for 
Search instead for 
Did you mean: 

How to temporarily disable TC_customization_libraries

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

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.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
8 REPLIES

Re: How to temporarily disable TC_customization_libraries

Pioneer
Pioneer

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

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

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.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: How to temporarily disable TC_customization_libraries

Pioneer
Pioneer

>> 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
Production: NX11.0.2.7 MP4 + TC10.1.7.1
Testing: NX11.0.2.7 MP4 + TC10.1.7.1
Development: C#

Re: How to temporarily disable TC_customization_libraries

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

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.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: How to temporarily disable TC_customization_libraries

Experimenter
Experimenter

Rename your custom .so .dll 

Re: How to temporarily disable TC_customization_libraries

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

@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.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: How to temporarily disable TC_customization_libraries

Legend
Legend


@zwattho wrote:

>> 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 ....


Is there a way to avoid preference TC_customization_libraries for 4-tier session?

 


Re: How to temporarily disable TC_customization_libraries

Pioneer
Pioneer

Thats Great.

Thanks Alex...

S A Saravanakumar
CBE, INDIA