×
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

Postbuilder question

Postbuilder question

Postbuilder question

(OP)
I have a queation about postbuilder.
I want to modify an existing postprocessor.
I am using the *.pui file. You can change the custom commands by postbuilder.
Now I want to modify the content of  proc MOM_msys { } which isn't an custom command but exists in the tcl-file.
I want to modify it by postbuilder for future modifications.
Is it possible to change this proc by postbuilder?
If so, how?

Thanks

RE: Postbuilder question

You have 2 options.

You can add the procedure to your post and then change it.  When your posting the system will use the one in the post as it will be the last one encountered.  You can also source a file that has the custome commands you use for multiple posts.  When you post and the system passes the procerdures what ever procedure is last wins.

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

NX5,6, 7 Solid Works, Solid Edge

RE: Postbuilder question

(OP)
How can I ad the procedure to my post so I can change it with postbuilder?

RE: Postbuilder question

1)create a new procedure in postbuilder (custom commands). Use uplevel create the MOM_msys procedure within the uplevel. Place the new procedure as the first item in start of program.

2)use a user tcl file then you only need to put in the MOM_msys (without uplevel). You can activate the user tcl file within postbuilder.

What option to choose is a matter of personal preference. Option 2 is a good idea when you want to change the same procedure for multiple postprocessors. The first option keeps everything in one tcl file.

Jelmerra
www.rouwe-analysis.info

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