Skip to main content
1-Visitor
April 26, 2005
Question

pro-program question

  • April 26, 2005
  • 1 reply
  • 740 views
Hi everyone,

I need to make a program that will go something like this:

IF OD >= 2 AND OD < 3
D6=.5
ENDIF

IF OD >=3 AND OD < 4
D6=.75
ENDIF

etc.

Can pro/program do this? Or do I need to have a whole bunch of nested IF
statements?

Thanks, I'll post a summary.
Don Gibson

    1 reply

    1-Visitor
    April 26, 2005
    its not pro prgram does..but the relations and the
    Diameter value you can be driven through Pro/Program,
    having created a parameter called "OD" and the value
    of the OD can be fed here.

    sukhesh

    --- Donald Gibson <donald_gibson@netzero.net> wrote:
    > Hi everyone,
    >
    > I need to make a program that will go something like
    > this:
    >
    > IF OD >= 2 AND OD < 3
    > D6=.5
    > ENDIF
    >
    > IF OD >=3 AND OD < 4
    > D6=.75
    > ENDIF
    >
    > etc.
    >
    > Can pro/program do this? Or do I need to have a
    > whole bunch of nested IF
    > statements?
    >
    > Thanks, I'll post a summary.
    > Don Gibson
    >
    > ---
    >
    > You are currently subscribed to model.
    > To unsubscribe send a blank e-mail to
    > -.
    >
    > Don't miss the PTC/USER World Event 2005, June 5-8,
    > in Orlando, Florida. Visit www.ptcuser.org/2005 for
    > details.
    >
    > For assistance, email us at -
    > or find other contacts at
    > www.ptcuser.org/org/contacts.html.
    >
    > PTC/USER and the PTC/USER logo are registered
    > trademarks of PTC/USER, Inc.
    > Pro/ENGINEER is a registered trademark of PTC.
    >
    > Message authors are solely responsible for the
    > content of their posts.
    >