Outputting Square Brackets with NX postprocessors
Outputting Square Brackets with NX postprocessors
(OP)
Dear experts,
Is there a way to have a pair of these brackets "[ ... ]" into my NC file (the post-processed file). I know that TCL language use them. I was able to output the first one "[" after this slash "\" BUT I have not found a way to have the closing one "]".
With other words this \ [ works without a problem BUT \ ] does not.
I will be very grateful if somebody succeed to help me with that.
Thank you !
Is there a way to have a pair of these brackets "[ ... ]" into my NC file (the post-processed file). I know that TCL language use them. I was able to output the first one "[" after this slash "\" BUT I have not found a way to have the closing one "]".
With other words this \ [ works without a problem BUT \ ] does not.
I will be very grateful if somebody succeed to help me with that.
Thank you !





RE: Outputting Square Brackets with NX postprocessors
set toto \[1234...\]
return $toto
RE: Outputting Square Brackets with NX postprocessors
CODE -->
result : [1234...)
this solution don't match try with ascii code
CODE -->
result : [1234...]
hope this help !!
RE: Outputting Square Brackets with NX postprocessors
Before seeing your post I tried with success the slash \ in "MOM_output_literal VC74=VZOFB\[VACOD]" and it worked.
But your suggestion works even into a word expression of a template.
Great !