Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Constraints to relations and pro/program?

Status
Not open for further replies.

Skiddy

Industrial
Jan 18, 2003
16
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?
 
Replies continue below

Recommended for you

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor