cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

pro-program question

donald_gibson
1-Newbie

pro-program question

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

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.
>
Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags