Skip to main content
1-Visitor
September 11, 2019
Question

Parameter value having more than 80 characters

  • September 11, 2019
  • 3 replies
  • 5721 views

Hi

 

We can create parameters in Creo Part with string type and lock the same so that users cannot edit it. What can be done to store if value of parameter is more than 80 characters long.

 

Thanks and Regadrs

Ketan

3 replies

23-Emerald III
September 11, 2019

Unfortunately the 80 character limitation to the length of a parameter is hard-coded and has been that length for many years. I really don't see PTC willing to change this limitation since it would impact many things in the database and other areas of the system display.

 

Your best option is to train your users to respect the limitation AND/OR use multiple parameters to get that much information to be displayed. I suppose their could be custom code written to enter a string and either warn the user it went over 80 characters or do an automatic split into multiple parameters.

 

On another CAD system, it had an easy to use programming language that I had coded for drawing format information. Every string entered was checked for length and did a conversion to all upper case letters. if the length was wrong, the string was truncated and the user received a pop-up telling the parameter was too long.

1-Visitor
September 11, 2019
Hi

I know it's going to be more than 80 characters for sure.... Actually it is the file names of some important documents or models we are intended to store. Could you think of any other method to store these details ?
1-Visitor
September 12, 2019
Hi

Thanks... correct... windchill as plm would resolve this issue.

I could not get your point of "use of folder with index spreadsheet"... Could you please elaborate for me ?
24-Ruby III
September 13, 2019

@Ketan_Lalcheta wrote:

Hi

 

We can create parameters in Creo Part with string type and lock the same so that users cannot edit it. What can be done to store if value of parameter is more than 80 characters long.

 

Thanks and Regadrs

Ketan


Hi,

maybe you can create flat screen note and put path to file in it.

1-Visitor
September 13, 2019
Seems interesting to try....like locked parameter to stop user changing value of it,can we do similar kind of thing for note as well?
24-Ruby III
September 16, 2019

@Ketan_Lalcheta wrote:
Seems interesting to try....like locked parameter to stop user changing value of it,can we do similar kind of thing for note as well?

Hi,

I do not think that notes can be locked to prevent their modification.

1-Visitor
September 18, 2019

I agree that you might want to split the parameter. Above 80 characters you are really getting to the point where you would be thinking about calling in a note from file or an annotation feature in the model.

 

&note_1 would call in full note if that is it's name just as you do with a parameter.

 

you could also look at restricted parameter sets to pull in complex combinations of information, I've used this for materials supporting information where it can pull in colour vendor and other user defined information in a set of parameters easily selected from a list or sub lists.

 

If you were to show an example of these long string parameters you might get more from the community.