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

SUMMARY: Relations To Control Flexible Inputs

Dan_Harlan
1-Newbie

SUMMARY: Relations To Control Flexible Inputs

Thanks for all the ideas and input. I think Janet's response was the
most elegant;

Using a parameter called ANGLE that you store the input angle in, and
dim_angle which is the angular dimension being controlled:

dim_angle = floor(ANGLE / 90.0) * 90.0



HTH



Janet Grove

John Deere Power Systems





This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1
TomU
23-Emerald III
(To:Dan_Harlan)

If you're going to use a parameter then give it a restricted parameter definition. That way the user will get immediate feedback on non-allowed values during input.

ND_ParamDefArr_K01 = {

{ Name = Angle
Type = real
Default = 90
Enum = {0, 90, 180, 270}
}

}

Tom U.
Announcements