×
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

Editing a Parameter Type

Editing a Parameter Type

Editing a Parameter Type

(OP)
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

RE: Editing a Parameter Type

Pro/Program is not an extra, it is stanard.

Why can't you delete the integer parameter and add a new string one?

The model tree setup file will allow you to configure the columns to display. Read the Fundamentals guide.
 

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

RE: Editing a Parameter Type

(OP)
Thanks. Figured out how to add columns to the model tree, but still couldn't figure out the above solution. I ended up just deleting the parameter and creating a new one (didn't want to because of many nested family tables).

For future reference though, am I accessing Pro/Program correctly?
Tools>Program>Edit Design returns:
Please check "Tools->Floating Modules" or Visit http://www.ptc.com/support/apps/sw_trial to try out options.

Then Tools>Floating Options returns:
There are no floating options currently accessible.

RE: Editing a Parameter Type

Pro/Program is available at the part level as standard, but you need the advanced assembly license for using it with assemblies.

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