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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

API to update the display name of the  attributes in a softype.

JZ_11553986
4-Participant

API to update the display name of the  attributes in a softype.

Version: Windchill 12.1

 

Use Case: API to update the display name of the  attributes in a softype. 


Description:

API to update the display name of the  attributes in a softype. 

 

JZ_11553986_0-1733711297669.png

Anyone can help.

 

 

ACCEPTED SOLUTION

Accepted Solutions

Hi @JZ_11553986 

What is nightmare?

If you have several servers where the attributes are identical, you set it just on one server and then just export/import the attributes for all types..

Also it can be automated by command line scripts so why do you want write an function that already exists...

CS30168 - How to export and import soft types and attributes using 'LoadFromFile' in Windchill

btw, based on the exported xml you could be able to find an api that can modify the display names. Sure not supported...

PetrH

View solution in original post

6 REPLIES 6
Fadel
22-Sapphire II
(To:JZ_11553986)

There is no supported API to do this , not even for read https://www.ptc.com/en/support/article/CS427355 

Fede

I have got the way to do this, any one who need this can contact me ,thanks.

I'm curious.. why would you want an API to do that? Are you really needing to change display names of attributes so dynamically?

Yes,   we have a lot of atrributes need to update the locale displayname( EN_US, Zh_CN and so on). and we need to do it in several test servers first.

Could you image How to do this without scripts, It's a nightmare. 

Hi @JZ_11553986 

What is nightmare?

If you have several servers where the attributes are identical, you set it just on one server and then just export/import the attributes for all types..

Also it can be automated by command line scripts so why do you want write an function that already exists...

CS30168 - How to export and import soft types and attributes using 'LoadFromFile' in Windchill

btw, based on the exported xml you could be able to find an api that can modify the display names. Sure not supported...

PetrH

Thanks, really a good solution for new build system.

 

Announcements

Top Tags