×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Outputting Square Brackets with NX postprocessors

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 !

RE: Outputting Square Brackets with NX postprocessors

it's strange

set toto \[1234...\]

return $toto

RE: Outputting Square Brackets with NX postprocessors

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

RE: Outputting Square Brackets with NX postprocessors

(OP)
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 !

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources