Skip to main content
4-Participant
March 11, 2024
Solved

Rename more than 80 characters possible

  • March 11, 2024
  • 2 replies
  • 1727 views

Hi All,

 

Rename of an object to greater than 80 Character is possible for one of the object. Where as when tried rename few other objects, it says "The length of name must be 0 and 80".

 

Not sure how it allowed for one of the object and why not for others? Any suggestions on how to troubleshoot this?

 

Thanks

Hari

Best answer by avillanueva

80 is an interesting clue here. I found this article that talks about default lengths for the name field:

https://www.ptc.com/en/support/article/CS113275?source=search

It does make a note about 12.1 and beyond the limit coming down to 80 characters. What version are you on? Is this an upgraded system? If PTC has reduced the length, I doubt it was a DB restriction since they would have had to handle existing names that were too long.  Are there any constraints present in the Type Administrator?

2 replies

Fadel
23-Emerald I
March 11, 2024

What object type are you working on (screenshots are helpful ) , the name length , is governed by physical  database column size in DB an other logical constraints defined in types and attributes Manager 

Buiꓘa
4-Participant
March 11, 2024

Hi @Fadel ,

 

We are working on a CAD Part. Current Name length is less than 80. We want it to be 110 characters. Main point to be worried here is, we were able to rename one object to 110 Characters. But all others we are not able to.

 

Thanks

Hari

Fadel
23-Emerald I
March 11, 2024

you should follow steps like for https://www.ptc.com/en/support/article/CS155068

just change the file  towt \ epm \ epmModel.properties and content to EPMDocumentMaster.name.UpperLimit = 110

Buiꓘa
avillanueva
23-Emerald I
23-Emerald I
March 12, 2024

80 is an interesting clue here. I found this article that talks about default lengths for the name field:

https://www.ptc.com/en/support/article/CS113275?source=search

It does make a note about 12.1 and beyond the limit coming down to 80 characters. What version are you on? Is this an upgraded system? If PTC has reduced the length, I doubt it was a DB restriction since they would have had to handle existing names that were too long.  Are there any constraints present in the Type Administrator?