×
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

Stock size variable to output block form in post processor

Stock size variable to output block form in post processor

Stock size variable to output block form in post processor

(OP)
Hey everyone,
I am trying to get NX 6 to output the stock size to the post processor. Does anyone know what variable to use? At the moment the post has a hard coded number set so it's always the same. I need the correct size stock to be able to run simulation on machine controller. Is there somewhere I can get a list of variables that NX6 outputs to the post processor?
Thanks in Advance
 

------
Cheers
  Steve Griffiths smile

RE: Stock size variable to output block form in post processor

You can get a list of the variables from post builder.


You have a couple of options - both require some customizing in the post.

One option would be to create a UDE to input the blank size manualy and have that output to the post.

The other option is to use the EXACT SAME expressions to define the block (blank) size and then have the post extract the expressions.



 

RE: Stock size variable to output block form in post processor

(OP)
I would be happy to create a UDE to input it. But how do I go about getting the post to extract the block size expression?
Thanks in Advance
Cheers

------
Cheers
  Steve Griffiths smile

RE: Stock size variable to output block form in post processor



Create a block and use the expressions blank_x, blank_y, blank_z  to create a block for your blank.

In your post add this custom command where you want the output.  You may want to modify this to do some checking.  I just threw this together but it does work

global out_var_bx
global out_var_by
global out_var_z

set out_var_bx "[MOM_ask_ess_exp_value blank_x]"
set out_var_bx [format "%3.4f" [expr $out_var_bx]]
    MOM_output_literal "(BLANK X = $out_var_bx)"

set out_var_by "[MOM_ask_ess_exp_value blank_y]"
set out_var_by [format "%3.4f" [expr $out_var_by]]
    MOM_output_literal "(BLANK Y = $out_var_by)"

set out_var_bz "[MOM_ask_ess_exp_value blank_z]"
set out_var_bz [format "%3.4f" [expr $out_var_bz]]
    MOM_output_literal "(BLANK Z = $out_var_bz)"


See the attached files




 

John Joyce
Tata Technologies
1675 Larimer St.
Denver, CO
www.myigetit.com

NX3,4,5,6 Solid Works, Pro/e, Solid Edge

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