Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Postbuilder Question, ZW parallel axis.

Status
Not open for further replies.

Jaydenn

Mechanical
Jan 13, 2005
281
Hi all,

I'm trying to get the ZW axis to work in my post.

let me start by quoting a snippet of the "how to" instructions from postbuilder...

This procedure will be executed automatically at the start of program and anytime it is loaded as a slave post of a linked post.
You will need to add the following line (without the #) to the top of the custom command PB_CMD_before_motion.

#PB_CMD_zw_before_motion


Now, my question is this...
There is no "PB_CMD_before_motion" command in the post...
As far as I can tell this is a process contained in the ugpost_base.tcl.

Is this the intention? that I edit the ug base post? The base post that the help file explicitly states DO NOT EDIT.

Am I missing something?

Jay

NX 6.0.5.3
 
Replies continue below

Recommended for you

I have noticed this too. If I create a new post using the Generic Controller then I don't get the custom command PB_CMD_before_motion

If I use a Library controller then the command is added to the post.

John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6.0.5.3
 
No I don't think it is the intention to edit ugpost_base, PB_CMD_before_motion isn't in ugpost_base but is checked to see if it exists in your post tcl file in MOM_before_motion which is in both the post tcl file and ug_post_base. The one in ugpost_base is overridden by the one in your post as the last one read is the one that is used. I created a new post 3 axis with generic controller and it was in there John. But at a glance you should be able to just create the command and then insert the call into it.

Shags72
NX 6028 mp8
 
Cute.

Thanks for pointing that out John. I did what you said, and seeing that the "before_motion" default command is empty, I'll just make my own.

Looks like the instructions should indicate to make a custom command if one doesn't exist.

Jay

NX 6.0.5.3
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor