Cancel
Showing results for 
Search instead for 
Did you mean: 

Postprocessor Privacy

Builder
Builder
Can we set privacy for postprocessor that nobody can use our postprocessor like any password or any other tool and nobody can share it ???
7 REPLIES

Re: Postprocessor Privacy

Gears Phenom Gears Phenom
Gears Phenom

for this is useful postconfigurator (what I am not familiar with)

 

In postbuilder you can check some variables and make some code to achieve it

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: Postprocessor Privacy

Builder
Builder
But how??

Re: Postprocessor Privacy

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Hi @Vora

 

This is just some Ideas, I have tried this.

If you want to lock the post that only can run on specific username AND hostname ONLY, just make condition in tcl file.

except condition make it error mesage: " Please call Vora to fix this problem" Smiley Happy.

 

If you want it more advance protection, make condition locking with specific mac address.

 

May be both of them, good to try.

 

Maryadi

PT.Mitra Makmur Teknologi

www.m2teknologi.com

 

Re: Postprocessor Privacy

Builder
Builder
I know it
But how to start from initially?

Re: Postprocessor Privacy

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Hi @Vora

 

Example:

Please delete the pui file to secure from editing, let them only .tcl and .def left , then open yourpost.tcl, search "proc MOM_linear_move { } {"

It will shown as below:

 

#=============================================================
proc MOM_linear_move { } {
#=============================================================
   ABORT_EVENT_CHECK
   HANDLE_FIRST_LINEAR_MOVE
   PB_CMD_suppress_linear_block_plane_code
   MOM_do_template linear_move
}

#====================================

 

Just make changes to give Condition as shown below:

 

#=============================================================
proc MOM_linear_move { } {
#=============================================================
global mom_logname
if {[string match "LOGIN_NAME" $mom_logname]} {

ABORT_EVENT_CHECK
HANDLE_FIRST_LINEAR_MOVE
MOM_do_template linear_move
} else {
MOM_output_literal "ERRORR.. Please Call Vora to fix this problem"
}
}

#====================================

 

 Then save the file.

Try to test the post...

 

You can do this on circular move or any other proc. even you can stop at the begining of process.

Just have a try. This is just an Idea.

 

 

 

Maryadi

PT.Mitra Makmur Teknologi

www.m2teknologi.com

 

Re: Postprocessor Privacy

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Hi @Vora

 

What I mean is try to post with other login name.

 

Then you will see your error message, when you postprocess the operation.

 

Maryadi

PT.Mitra Makmur Teknologi

www.m2teknologi.com

Re: Postprocessor Privacy

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

You can buy a license from Siemens to encrypt your post-processors and password protect them.

On the other hand, if you don't send the PP out into the public, there is no need to protect them.

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

Learn online





Solution Information