I have some problem with my inner TCL variable.
TNC_UDE.cdl file for blk form is attached into NX (ude named as: Utworz_blok_dla_TNC)
I have already finished all control syntax in postbuilder and still getting error with one variable.. dont know what Iam doing wrong
Values of PB_CMD below:
Variable is set on global before the procedure set global.
And as you see in my attach picture JPG, when i set two points of blank and after this I tried to post my cam operation - still getting same error can't read "mom_czy_byl_block": no such variable
***** A TCL Error Has Occurred *****
Event Handler: C:\Users\Desktop\Block_Form\test_post\get_balnk.tcl
Error Info: can't read "mom_czy_byl_block": no such variable while executing
Error Code: NONE
Inside postbuilder, I proper set those of two templates:
if something has been missed - could You show me what I need to do in next step ???
Solved! Go to Solution.
Do you have a procedure for the UDE called MOM_Utworz_blok_dla_TNC?
If you don't have that, the UDE settings are not retrieved from the UDE.
Production: NX12.0.2, VERICUT 8.2, 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: NX (1876) | AWC 3.4 Preparing: -
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
CamExplorer, I'm happy that you're reusing procs from my postprocessor.
But I think, it would be much better to contact author of this post directly.
You will find my name in the header of the *.tcl file.
As I remember, source of missing procedure is encrypted, so you can't read it with notepad.
Development: C#, Tcl/Tk, CSE
Ok, understand now.
No I dont have this MOM ude procedure
Is there any possible way to copy procedure from TNC_UDE.cdl file and paste it to postbuilder in machine control (green label) as Create New Machine Control Event ?
Hey Marek, I get this ude.cdl from my friend - I found this proc in .tcl & .def files. Iam sorry if Iam sharing whith this without prior consultation with You
Actually I made my own new UDE.cdl for start proc named as: Get_Blank, next I created in postbuilder my new machine control event - same as UDE.cdl with integer (status & points active) in NX. Global variable refers to beginning of post. Blank blocks are working corectly with proper sequencing in header of Start of Program.
New variables are set in MOM_proc global event handler. Added extra PB_CMD customs for getting cutting time to any separated operations from nx via one UDE as folder object>start event.
Thx for help.