Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outputting Square Brackets with NX postprocessors 1

Status
Not open for further replies.

PreludeEdge

Mechanical
Apr 11, 2010
10
0
0
US
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 !
 
Replies continue below

Recommended for you

sorry

Code:
set toto \[1234...\]
return $toto

result : [1234...)

this solution don't match try with ascii code

Code:
set toto \1331234...\135
return $toto

result : [1234...]

hope this help !!
 
Thank you very much ! This '\1331234...\135 " works !
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 !
 
Status
Not open for further replies.
Back
Top