bshig
Mechanical
- Aug 11, 2008
- 3
I am using WF4 and I would like to change the type of a parameter from an Integer to a String. The only information I found on this was:
Answer 1: Using the Model Tree: Create a column in your model tree under model parameters the same name as the parameter you want to change (this is a good way to enter values too). It should display thevalue of the parameter. Click on it and use 'backspace' to clear the field. Don't hit enter, just arrow (or pick) to a different field. If you pick on the (now empty) field of the parameter you just erased, it should give you a pop up to choose "string, integer, etc." and you're off! I've seen it take more than once to get the field clear, so if it doesn't take the first time, give it another shot.
Answer 2: Using Pro/PROGRAM: If you will open the pro/program of the part file and in the input section type in the parameter name and type this will change the parameter type. For instance if you have a parameter called "TEST" that used to be an integer and you want to change it to a string variable the pro/program will look like the following: INPUT TEST STRING END INPUT To test if the change was made use the info under the parameter selection to look at what is assigned.
It seems that Pro/PROGRAM is an extra that I don't have, and I can't figure out how to add a parameter to the model tree.
Can anyone explain how to add a parameter to the model tree, or has another method to changing the parameter type?
Thanks
Answer 1: Using the Model Tree: Create a column in your model tree under model parameters the same name as the parameter you want to change (this is a good way to enter values too). It should display thevalue of the parameter. Click on it and use 'backspace' to clear the field. Don't hit enter, just arrow (or pick) to a different field. If you pick on the (now empty) field of the parameter you just erased, it should give you a pop up to choose "string, integer, etc." and you're off! I've seen it take more than once to get the field clear, so if it doesn't take the first time, give it another shot.
Answer 2: Using Pro/PROGRAM: If you will open the pro/program of the part file and in the input section type in the parameter name and type this will change the parameter type. For instance if you have a parameter called "TEST" that used to be an integer and you want to change it to a string variable the pro/program will look like the following: INPUT TEST STRING END INPUT To test if the change was made use the info under the parameter selection to look at what is assigned.
It seems that Pro/PROGRAM is an extra that I don't have, and I can't figure out how to add a parameter to the model tree.
Can anyone explain how to add a parameter to the model tree, or has another method to changing the parameter type?
Thanks