(Contributed by Byron Raymond)
Many symbols have special meaning when used in a
Pro/E relation. They are the same as many computer programming languages
like C, perl, and pascal. The following operators can be used in a Pro/E
relation:
math operators
+ - * / ^ ( ) =
functions ln() log() abs()
ceil() floor() sqrt()
trig functions sin() cos() tan() asin() acos()
atan() sinh() cosh() tanh()
The trig functions are always in degrees, so sometimes it pays to create
two relations like
rad_to_deg=(2*pi)/360
deg_to_rad=360/(2*pi)
and use them like conversion factors
unequal comparison != <> ~=
relative comparison < > <= >=
logical comparison & | !
constants pi e
Pro/E can also solve for a variable used in simultaneous equations. For
example:
displacement=2.8
cylinders=6
power=172/cylinders
SOLVE
power=0.7^gearratio/(gearratio -1)
FOR gearratio
d1=gearratio
Back to the Index
|