Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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.
Anyone can help.
Solved! Go to Solution.
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
There is no supported API to do this , not even for read https://www.ptc.com/en/support/article/CS427355
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.