×
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

pro-program problems wildfire 2.0

pro-program problems wildfire 2.0

pro-program problems wildfire 2.0

(OP)
Model background
I have a Skeleton part with datum planes an datum axis.
I'm using pro-program to move 2 different datum plane angle dimensions. Here is my program
Dimension d14 is the dimension I'm inputting the change on, D46 is the datum i'm moving from D14

Input
drum_ang number
"enter drum ang, load or dump"
End Input

Relations
load=17
dump=-93
$d14=drum_ang
IF (d14==17)
$d46=31
END IF
IF(d14<17)
$d46=-83
END IF

This works, Except I have to regenerate twice. This causes the asm to fail. Does anyone know how to force a regeneration in the If statement, or how i can program this so it only needs one regeneration.
                                   Thanks
                                          Steve
$d14=

RE: pro-program problems wildfire 2.0

Not totally sure if this will work, but:

Try to have it perform the check on drum_ang, instead of d14. Pro/E is seeing the previous value of d14 and then changing it to your input. If you have it check the input variable, it should work how you want it to,

So it would look like:

Relations

IF (drum_ang==17)
$d46=31
END IF

IF(drum_ang<17)
$d46=-83
END IF

$d14=drum_ang

load=17
dump=-93

RE: pro-program problems wildfire 2.0

(OP)
justkeepgiviner
Thanks It worked 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