×
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

Constraints to relations and pro/program?

Constraints to relations and pro/program?

Constraints to relations and pro/program?

(OP)
Im creating relations on my features, to gain full control of my model.

Of which i will hopefully transfer into pro/prog.

My problem is that i would like to add constraints to the relations:

eg
solid extrusion circle radius=5
cut in solid circle, radius from center 2.5 dia of cut =1

I want to be able to control the location of the cut on the circle using pro/prog but obviously if a person creates a radius for the cut at over 5 it will fail.....

How do you put a constraint on pro/prog

eg.
radius number
"please enter radius between 1-5"

can be entered into the relations but no actual constraint is working on the model?

Can constraints be put on relations with out using pro/prog?

Please help?

RE: Constraints to relations and pro/program?

One way I have found is to write a relation where

if rad>5
rad=5
endif

if rad<1
rad=1
endif


Petar Nenadic
Viking Johhson

Petar Nenadic
Viking Johnson

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